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
Data Analysis Articles
Page 12 of 18
How to Calculate Covariance in MATLAB
In this article, we will explore how to calculate covariance using MATLAB programming. But before that let’s have a look into the basic theory of covariance and importance. What is Covariance? Covariance is a statistical tool used to describe the correlation between two or more random variables. In other words, covariance is a measure that gives information about relationship between two or more variables. The covariable is primarily used to quantify the changes in one variable with respect to changes in another variables. The covariance between two random variables ‘A’ and ‘B’ is specified as cov(A, B), and ...
Read MoreHow to Apply Median Filter for RGB Image in MATLAB?
In digital image processing, filtering is defined as a process of modifying an image to enhance its visibility. Image filtering in digital image processing involves the use of some mathematical operations applied to each pixel of the image. It alters the pixel value to achieve the desired corrections like noise reduction, edge detection, image enhancement, etc. The image filtering is performed by applying a filter to the image. Where, the filter is nothing but a matrix of numbers that determine how to modify the pixel values. There are several types of image filters available based on different requirements. Some common ...
Read MoreConvolution 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 MoreComplete Introduction to Alteryx
Alteryx is a user-friendly Data analytics platform. It is a robust data analytics and processing platform that enables users to extract, transform and process data from multiple sources and perform complex computation and analysis using a drag-and-drop interface. The reason behind the tool’s wide usage and fame is its no-code implementation of data preparation and analysis which streamlines business analysis in corporates. Getting Started with Alteryx Alteryx Designer is used for creating workflows for analyzing, blending data, and performing advanced analytics (such as predictive, spatial, and prescriptive) using the drag-and-drop user interface. A workflow in Alteryx consists of connected tools ...
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 More