Found 163 Articles for MATLAB

How to Draw a Circle of Given Radius in MATLAB?

Manish Kumar Saini
Updated on 10-Oct-2023 17:12:58

97 Views

MATLAB is a tool that can perform various operations and tasks related to mathematics, engineering, and technology. For example, we can use MATLAB to draw different kind of shapes like circle, square, rectangle, triangle, etc. For this we just need to write a piece of codes in MATLAB programming and input the required parameters like radius of the circle, width and height of the rectangle, etc. This tutorial will explain how you can draw a circle of the specified radius using MATLAB. As we know, in mathematics and geometry, a circle is a basic closed shape formed by joining several ... Read More

How to Detect Face in Image Processing Using MATLAB?

Manish Kumar Saini
Updated on 10-Oct-2023 17:10:41

101 Views

In digital image processing, face detection is a process of identifying face of a person within a digital image or video. It plays vital role in the field computer vision. It is used in various fields such as self−driving cars, facial recognition, face lock systems, emotion analysis, estimation of age, robotics, and many other. MATLAB is an efficient tool to perform image processing, therefore we can use it to detect human face in an image using this software. Before going to learn about MATLAB codes to detect face in an image, let us get a brief overview of face detection ... Read More

How to detect duplicate values and its indices within an array in MATLAB?

Manish Kumar Saini
Updated on 10-Oct-2023 17:07:18

217 Views

In this tutorial, I will explain how to detect duplicate values and its indices within an array in MATLAB. To accomplish this task, we can use various built-in functions in MATLAB. In this article, I will do this using the following two function combinations. unique() and length() unique() and ismember() Before going to implement MATLAB codes, let us first know the steps involved to detect duplicate values in an array. How to Detect Duplicate Values and their Indices in an Array using MATLAB? In MATLAB, the following steps are involved in detecting duplicate values and their indices in ... Read More

How to Decide Window Size for a Moving Average Filter in MATLAB?

Manish Kumar Saini
Updated on 10-Oct-2023 17:02:00

206 Views

In MATLAB, there is a signal processing technique called moving average filter which is used to smooth or filter time series data. The moving average filter computes the average value of data points withing a moving window, and then it utilizes this average value as output data points in the filtered signal. The moving average filter is used to reduce fluctuations and noise in the data points. Before going to learn about the parameters that are used to decide the window size for a moving average filter in MATLAB, let us first learn what is the window size for a ... Read More

How To Create Animated GIF Images in MATLAB?

Manish Kumar Saini
Updated on 10-Oct-2023 16:59:26

171 Views

GIF stands for Graphics Interchange Format. It is a type of image file which is a raster graphics file format, specially used in web and networking applications. The important characteristic of the GIF image format is that it can support both static and animated objects within the image. In this tutorial, I will explain how you can create an animated GIF image using MATLAB. As we know, MATLAB is an efficient tool to perform various scientific and engineering tasks such as image processing, simulation, etc. We can utilize MATLAB to create animated GIF images. What is a GIF Image? A ... Read More

Histogram Equalization in Digital Image Processing

Manish Kumar Saini
Updated on 10-Oct-2023 16:47:04

235 Views

In digital image processing, histogram equalization is a process of enhancing the contrast and improve the visual quality of an image. We can perform histogram equalization using digital tools like MATLAB. This tutorial is meant for explaining the histogram equalization in digital image processing by using MATLAB. But before that let us get a basic overview about histogram equalization What is Histogram Equalization? As mentioned above, histogram equalization is a technique of improving the contrast and visual quality of a digital image. Histogram equalization redistributes the values of pixel intensities throughout the image more uniformly. Overall, histogram equalization is a ... Read More

Edge detection using Prewitt, Scharr and Sobel Operator

Manish Kumar Saini
Updated on 10-Oct-2023 16:39:32

666 Views

In digital image processing, the technique which is used to highlight the borders/boundaries of object withing a digital image is referred to as edge detection. We can use MATLAB to perform this operation. For this, there are several different built-in functions and operators are defined in the MATLAB library. In this tutorial, I will explain three such operators namely, "Prewitt Operator", "Scharr Operator", and "Sobel Operator". All these three operators are commonly used gradient-based edge detection operators available in the MATLAB library. Before going to discuss these operators for edge detection, let us first get a brief overview of ... Read More

Edge detection using first derivative operator in MATLAB

Manish Kumar Saini
Updated on 10-Oct-2023 15:47:43

85 Views

In digital image processing, edge detection is a process used to identify the boundaries of objects within a digital image. We have various image processing techniques to detect edges in an image, but in this tutorial, we will learn the edge detection using first derivative operator in MATLAB. What is Edge Detection in MATLAB? MATLAB is an efficient tool to perform complex image processing tasks. One such task is the edge detection, which is nothing but a process of detecting boundaries of objects in an image. In an image, an edge of an object is typically the region where ... Read More

Creating Function in Files in MATLAB

Manish Kumar Saini
Updated on 10-Oct-2023 15:38:10

46 Views

MATLAB is a high−level programming language used to perform engineering and scientific operations such as system design and analysis, matrix manipulation, data interpretation, image processing, app development, and more. MATLAB provides several methods to write reusable codes that can be used to perform repeated tasks. One such code in MATLAB is a function. In this tutorial, I will explain how to create functions in a file in MATLAB. But before that let’s have a look into some basic concepts related to MATLAB functions. What is a Function in MATLAB? In MATLAB, a function is a code or command or ... Read More

Class Constructor Methods in MATLAB

Manish Kumar Saini
Updated on 10-Oct-2023 15:36:41

113 Views

In MATLAB, there are class constructor methods which are used to create an instance of a class. Class constructor methods are basically special functions within a class that are used to create and initialize the objects of the class, these class constructor methods are called automatically when we create a new object in the class. In this tutorial, I will explain class constructor methods in MATLAB in detail. What is the Purpose of Class Constructor Methods? As mentioned above, a class constructor method in MATLAB is a special function which is used to create an instance of a class. In ... Read More

Advertisements