- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 163 Articles for MATLAB
141 Views
In the field of digital image and video processing, there are two popular color spaces namely RGB and YIQ. Where, RGB stands for Red, Green, and Blue. The RGB color space is widely used for displaying digital images on display screens. This color space utilizes a combination of intensities of red, green, and blue lights. Therefore, in the RGB color space, each pixel in a digital image composed of three−color channels namely red, green, and blue. On the other hand, YIQ is another color space that is mainly employed in analog video or NTSC systems. YIQ stands for Luminance (Y), ... Read More
367 Views
In this article, we will learn how to create a function in MATLAB and how to use that function in a MATLAB program to perform an operation. What is a Function in MATLAB? In MATLAB, a function is nothing but a block or set of instructions used to perform a specific operation. A function basically eliminates the need of writing instructions repeatedly. Also, it encapsulates all the technical information of the operations and provides a short and easy to use executable code to perform the operation. Functions has several advantages such as easy implementation, reusability, easy maintenance, etc. Components of ... Read More
161 Views
In this article, we will learn how to create a dropdown menu/list in MATLAB. In MATLAB, a dropdown menu is a user interface (UI) component allows users to choose one the multiple options or to type as text. In MATLAB, we have a built−in function named ‘unidropdown’ that allows to create a dropdown menu. This function can have different syntaxes to create different types of dropdown menu. The most commonly used types of dropdown menu are as follows: Dropdown menu without any parameters Dropdown menu with a specific parent container Dropdown menu with a specific parent container and properties ... Read More
136 Views
In this article, we will learn to implement MATLAB codes to count the number of circles in a digital image. The counting the number of circles in an image is performed by using various image processing techniques like image erosion, circle detection, etc. The step−by−step procedure to count the number of circles in a digital image in MATLAB is explained below: Step (1)− Read the input image. Step (2)− Convert the input image to grayscale, if necessary. Step (3)− Create a circular or disk−shaped structuring element of a specific size for erosion of the image. Step (4)− Erode the grayscale ... Read More
837 Views
In this article, we will discuss how to convert an RGB image into an HSI (HSV) image using MATLAB. The RGB color space is widely used for displaying digital images on display screens. This color space utilizes a combination of intensities of red, green, and blue lights. Therefore, in the RGB color space, each pixel in a digital image composed of three−color channels namely red, green, and blue. On the other hand, HSI stands for Hue Saturation and Intensity. It is also called HSV, where HSV stands for Hue Saturation Value. An image represented based on the color model of ... Read More
162 Views
In MATLAB App environment, we can develop a GUI (Graphical User Interface) app without having proper knowledge of coding. Therefore, MATLAB app building allows us to create professional applications without writing code, and just by drag−drop. In this article, we will discuss how to create a GUI button in a MATLAB application. The step−by−step procedure to create a GUI button in a MATLAB app is explained below. Steps to Create GUI Button in MATLAB App We can follow the following steps to create a GUI button in a MATLAB application: Step(1)– Open the MATLAB command window. Step(2)– Launch the MATLAB ... Read More
185 Views
In this article, we learn how to change the green background of an image to some other background using MATLAB programming. The concept of changing a green screen background to another background involves the use of a technology called “chroma key”. This technology detects the absolute green color in the image and omits it from the image. Then, we can apply another image or color as the background to the image. Algorithm The step−by−step process of changing the green screen background of an image with another background in MATLAB is explained below: Step (1) − Read the input image with ... Read More
155 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
331 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
236 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
To Continue Learning Please Login
Login with Google