In an image, brightness is an attribute that is interpreted by our eyes based on the amount of light reflected by different regions of the image. Brightness is related to the intensity of light in the image i.e., if an image has more light it will appear brighter. If the image has less light, it will appear as darker. Therefore, brightness influences the visual quality of an image. However, we have various tools like MATLAB to adjust the brightness of the image and enhance its visual quality. In a digital image, the brightness is a controlled by pixel values of ... Read More
In mathematics, the Fourier series up to "n" harmonics is a technique used to approximate a periodic function through the sum of sine and cosine functions. We can implement the Fourier series up to "n" harmonics in MATLAB programming. Before discussing this implementation, let us first get an overview of Fourier series up to "n" harmonics. What is Fourier Series up to "n" Harmonics? In mathematics, the Fourier series is a method of expressing a periodic function as a sum of sinusoidal functions (sine and cosine functions). The Fourier series up to "n" harmonics is a way of approximating a ... Read More
In linear algebra, there is a fundamental theorem caled Cayley-Hamilton’s Theorem that is used to establish a relation between a square matrix and its characteristic equation. Read this article to learn the implementation of the Cayley-Hamilton’s theorem in MATLAB programming. Let's start with an overview of Cayley-Hamilton’s theorem. What is Cayley-Hamilton’s Theorem? In linear algebra, the Cayley-Hamilton’s theorem is a fundamental theorem that is used to establish a relationship between a square matrix and its characteristic equation. In other words, according Cayley-Hamilton’s theorem, a square matrix must satisfy its own characteristic equation. Explanation Consider a square matrix A of the ... Read More
In MATLAB, there are two commonly used image processing techniques namely, "Laplacian Filter" and "High Boost Filtering" that are used to sharpen an image. The Laplacian filter is mathematical operator used to sharpen an image in digital image processing. While, the high boost filtering is an image sharpening technique in digital image processing. In this tutorial, I will explain the process of image sharpening using Laplacian filter and high boost filtering in MATLAB. Let’s start with the basic introduction of Laplacian filter and high boost filtering. What is Laplacian Filter in MATLAB? In MATLAB, the Laplacian filter is mathematical tool ... Read More
Library functions are built-in functions that are grouped together and placed in a common location called library. Each function here performs a specific operation. We can use this library functions to get the pre-defined output. All C standard library functions are declared by using many header files. These library functions are created at the time of designing the compilers. We include the header files in our C program by using #include. Whenever the program is run and executed, the related files are included in the C program. Header File Functions Some of the header file functions are as follows − ... Read More
Decision TableA Decision Table is a table that shows the relationship between inputs and rules, cases, and test conditions. It's a very useful tool for both complicated software testing and requirements management. The decision table allows testers to examine all conceivable combinations of requirements for testing and to immediately discover any circumstances that were overlooked. True(T) and False(F) values are used to signify the criteria.What is Decision Table Testing?Decision table testing is a type of software testing that examines how a system responds to various input combinations. This is a methodical methodology in which the various input combinations and the ... Read More
Inside a computer, there is an Arithmetic Logic Unit (ALU), which is capable of performing logical operations (e.g. AND, OR, Ex-OR, Invert etc.) in addition to the arithmetic operations (e.g. Addition, Subtraction etc.). The control unit supplies the data required by the ALU from memory, or from input devices, and directs the ALU to perform a specific operation based on the instruction fetched from the memory. ALU is the “calculator” portion of the computer.An arithmetic logic unit(ALU) is a major component of the central processing unit of the a computer system. It does all processes related to arithmetic and logic ... Read More
In MATLAB, there are three logical operators namely, logical AND (&&), logical OR (||), and logical NOT (~). The "if" is a conditional statement used to develop control expressions in MATLAB programming. In this tutorial, I will explain the use of logical operators within if statements in MATLAB. What is Logical AND Operator in MATLAB? In MATLAB, the logical AND operator is a binary operator that takes two operands to execute. It is denoted by "&&". The result of the logical AND (&&) operator is considered true (1) only if both of its operands or conditions are true (1). If ... Read More
A matrix is a structure which is used to store and work with numeric data. Each value stored in a matrix is referred to as an element. Sometimes, we need to swap or change the position of these elements within the matrix. We can use MATLAB to perform this task i.e., swapping the elements of the matrix. In this tutorial, I will explain how we can use MATLAB to swap the elements in a matrix. Swap Elements in a Matrix MATLAB is a powerful tool that can be used to manipulate matrices. It provides various methods to swap the elements ... Read More
In MATLAB, we can perform various operations on matrices. One such operation is selecting random rows from a matrix. MATLAB provides several different methods of selecting random rows from a matrix. In this tutorial, I will explain different methods of selecting rows from a matrix randomly using MATLAB. Select Random Rows from a Matrix in MATALB In MATLAB, we have various built-in functions that can be used to randomly select rows from a matrix. The following are some commonly used functions to randomly select rows from a matrix − randperm() Function randsample() Function randi() Function datasample() Function Let ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP