Manish Kumar Saini

Manish Kumar Saini

796 Articles Published

Articles by Manish Kumar Saini

Page 17 of 80

How to Calculate Variance in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 640 Views

In this article, we will explore how to calculate variance in MATLAB. In mathematics, variance is a statistical tool used to measure the degree of dispersion of a set of data points around its average value. It is widely used to quantify the diversity or variability of a set of data points. We can compute variance of a data set by using the following formula: $\mathrm{Var=\frac{\displaystyle\sum\limits_{i=1}^n (x_i −\bar{x})^2}{n}}$ Where, xi is the individual data points, is the average of data set, and n is the total number of data points in the set. The following sections of this articles ...

Read More

How to Calculate the Impulse Response in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 927 Views

In this article, we will learn ow to calculate the impulse response of a system in MATLAB. Impulse response is an elementary concept used in analyzing and understanding the behavior of systems for an impulse input. It is mainly used to analyze the linear time invariant systems like digital filters, electronic circuits, signal processing systems, control systems, and more. Impulse response of a system can be defined as follows: The response of a system when an impulse input signal is applied to it, is called the impulse response. It is denoted as h(t) for continuous time systems and h[n] for ...

Read More

How To Calculate Standard Deviation in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 715 Views

In this article, we will learn to calculate standard deviation in MATLAB. Standard deviation is a mathematical operation that gives the measure of variation in a set of data points. The standard deviation is used to study the dispersion of data around their average value. If a set of data points has a low standard deviation, it indicates that the data points tend to nearer to the average value. Whereas, the high standard deviation specifies a large dispersion of data points out from their average value. In MATLAB, we can calculate the standard deviation by using a built−in function named, ...

Read More

How to Calculate Moving Sum in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 372 Views

In this article, we will explore how to calculate moving sum using MATLAB programming. But before that let us have a look into the concept of moving sum. What is Moving Sum? Moving sum is a mathematical operation that allows to calculate the sum of a set of numbers over a specified interval, known as window size or rolling window. It is also known as cumulative sum or rolling sum. Moving sum is widely used in the field of data analysis and signal processing. Moving sum is generally performed on sequential data where the order of data elements is significant ...

Read More

How to Convert Three Channels of Colored Image into Grayscale Image in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 359 Views

In this article, we will explore how to convert a colored image with three channels, i.e. RGB (Red, Green, and Blue) into a gray scale image using MATLAB. An RGB image is a digital image in which each pixel is represented as a combination of intensity of three−color channels, namely red, green, and blue. RGB image is mainly used display color images on display screens. On the other hand, a gray scale image is one that uses only two colors, i.e. black and white to represents the elements in an image. In other words, a gray scale image is a ...

Read More

How to Convert RGB Image to Binary Image Using MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 925 Views

In this article, we will explore how to convert an RGB image to a binary image using MATLAB programming. An RGB image is one which is represented by using three color channels namely, Red, Green, and Blue. In the case of an RGB image, the three primary colors, namely red, green, and blue are used to represent all the colors in the image. In the RGB image, each pixel of the image is represented by a combination of intensity values for these three colors. Therefore, the three intensity values of RGB colors determine the color of the pixel. In MATLAB, ...

Read More

How to Convert HSI Image to RGB Image in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 547 Views

HSI (also called HSV) and RGB are two different types of color spaces. Where, HSI stands for Hue Saturation and Intensity, (HSV stands for Hue Saturation Value). An image represented based on the color model of HSI is called an HSI image. On the other hand, RGB stands for Red Green and Blue. It is another popular color space in which images are represented based on red, green, and blue color intensities. In this article, we will study how to convert an HSI image into an RGB image using MATLAB programming. MATLAB provides a built−in function ‘hsv2rgb’ to convert an ...

Read More

How to Color Slicing Using HSV Color Space in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 577 Views

In digital image processing, the process of extracting a specific color or color range from an image with all other colors are discarded is referred to as color slicing. In an image, the color slicing is performed by creating a binary mask that selects all the pixels in the image that lies in the range of the specified color. Coloring slicing is generally used in specific color spaces such as RGB (Red−Green−Blue) color space or HSV (Hue−Saturation−Value) color space, etc. In this article, we will learn how to perform color slicing in HSV color space using MATLAB programming. In the ...

Read More

How to Calculate Cumulative Product in MATLAB

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 376 Views

In this article, we will learn how to calculate cumulative product in MATLAB. So, lets, start with the basic definition of cumulative product. What is Cumulative Product? A mathematical operation in which the product of a sequence of numbers is computed in a cumulative manner is called cumulative product. In the cumulative product, the product of elements of a sequence of numbers is computed up to the given index and the result obtained in each step is stored in the form of an array. To understand the what is the cumulative product? Let’s consider an example as follows. Let a ...

Read More

How to Calculate Covariance in MATLAB

Manish Kumar Saini
Manish Kumar Saini
Updated on 07-Aug-2023 526 Views

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 More
Showing 161–170 of 796 articles
« Prev 1 15 16 17 18 19 80 Next »
Advertisements