Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
MATLAB Articles
Page 11 of 13
Convolution Theorem for Fourier Transform in MATLAB
According to the convolution theorem for Fourier transform, the convolution of two signals in the time domain is equivalent to the multiplication in the frequency domain. Therefore, if two signals are convolved in the time domain, they result the same if their Fourier transforms are multiplied in the frequency domain. For example, if x(t) and h(t) are two signals in the time domain and their Fourier transforms are X(ω) and H(ω) respectively. Then, their convolution in the time domain is given by, f(t) = x(t) * h(t) Here, the symbol ‘*’ represent the convolution of two signals. And the ...
Read MoreConvolution Shape (full/same/valid) in MATLAB
In digital signal processing and image processing, the convolution is a crucial mathematical operation. The primary function of the convolution is to combine two signals to produce a resulting signal. The resulting signal specifies the interaction between the two signals that we combined. In MATLAB, we can perform the convolution of two signals by using a built−in function ‘conv()’. This MATLAB function performs the convolution by using a discrete approximation of the integration. For this, it uses discrete samples of the input signals. Syntax The following is the general syntax for the ‘conv()’ function, a = conv(x, y, shape); ...
Read MoreConfigure the Run Button for Functions in MATLAB
In this article, we will learn to configure the Run button for functions in MATLAB. In MATLAB, the `Run` button is used execute a MATLAB code. Also, MATLAB allows us to configure the `Run` button to execute a specific user defined function. Algorithm to Configure Run Button The step−by−step process to configure the Run button to execute a specific function in MATLAB is explained below: Step 1 − Firstly, create a new script to open the MATLAB editor. Step 2 − Define or create a function for which you want to configure the Run button. For example, we create ...
Read MoreComparing Two Cell Arrays of Strings of Different Sizes in MATLAB
In this article, we will learn how to compare two cell arrays of strings of different sizes in MATLAB. Cell Array of Strings In MATLAB, a cell array of strings is a data structure that can store different types of elements. The element of a cell array are enclosed within curly braces `{}`. Syntax We can use the following syntax to create a cell array of strings, A = {'string1', 'string2', 'string3', …'stringN'}; Here, `A` is a cell array of strings that contains N string elements namely, `string1`, `string2`, …, `stringN`. In MATLAB, the cell arrays of strings are ...
Read MoreBoundary Extraction of Image using MATLAB
In an image, a boundary is an element that separates an object from the background of the image or two different regions within an image. Boundary provides information about the shape and structure of objects present in the image. Boundaries are mainly classified into the following two types: Inner Boundary It is the boundary of an object within an image that separates it from the image background. The inner boundary is basically the outline of the object and provides information about the shape of the object. Therefore, by extracting the inner boundary of an object, we can identify and analyze ...
Read MoreBlack and White Optical Illusion in MATLAB
An optical or visual phenomenon that creates the perception of distortion, movement or any other type of fascinating visual effect by using back and white patterns is referred to as back and white optical illusion. These back and white patterns utilize the way our eyes and brain process the visual information and create an illusion to mislead our perception. The back and white optical illusions use various black and white patterns, shapes, and lines arranged in a specific style. These arrangements are made such that they can create illusion of movement, distortion, depth, and more. In this article, we will ...
Read MoreFind the Closest Value in an Array in MATLAB
MATLAB is a programming environment developed for scientists and engineers to design and analyze system, perform data analysis, create visualizations, and more. MATLAB stands for Matrix Laboratory, it is a programming and interactive platform developed by MathWorks to provide a variety of tools for programming mathematical functions and operations, data analysis, etc. MATLAB is extensively used in different field of science, engineering, finance, economics, and more. Read this tutorial to learn the different methods of finding the closest value in an array in MATLAB. But before that let's get an idea about Array in MATLAB. What is an Array in ...
Read MoreApp Building Components in MATLAB
MATLAB is the acronym for Matrix Laboratory. MATLAB is a programming environment developed for scientists and engineers to design and analyze systems. MATLAB platform uses its MATLAB programming language which is a matrix-based language. MATLAB language allows users to write expression of computational mathematics in natural way. With the help of MATLAB, a user can analyze data, develop algorithms, design system models and applications, and more. Therefore, MATLAB is one of the most popular design and analysis tools used by engineers and scientists globally. It finds applications in several different fields of science and technology, including deep learning, machine learning, ...
Read MoreIntensity Transformation Operations on Images in MATLAB
Introduction to Intensity Transformation in MATLAB In MATLAB, the intensity transformation operation on images is one of the most fundamental image processing technique. It is an image processing operation in which the results depend on the intensity of an image. In MATLAB, the intensity transformation operations on images are performed to correct, enhance, or manipulate the intensity of image pixels. We have various built-in MATLAB functions to perform intensity transformation operations on images. In this article, we will discuss some commonly used intensity transformation operations and will see how they can be implemented using MATLAB programming. Intensity ...
Read MoreHow to Set Axis Limits in MATLAB
MATLAB provides various built-in functions, such as xlim(), ylim(), and axis() that help us to adjust axis limits as per our requirements. In this tutorial, we will learn about adjusting axis limits of a plot in MATLAB. Functions to Set Axis Limits In MATLAB, there are three main functions widely used for adjusting axis limits of a plot. These functions are as follows: “xlim()” Function - The “xlim()” function is used to adjust X-axis limit of a plot in MATLAB. “ylim()” Function - The “ylim()” ...
Read More