Detect Duplicate Values and Indices in an Array in MATLAB

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

584 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

Decide Window Size for Moving Average Filter in MATLAB

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

782 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

Create Animated GIF Images in MATLAB

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

613 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

1K+ 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

2K+ 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

Display Table Body in HTML

Bhanu Priya
Updated on 10-Oct-2023 16:37:09

904 Views

Use the tag in HTML to display a table body. The HTML tag is used to add a body to a table. The tbody tag is used in conjunction with the thread tag and the tfoot tag in determining each part of the table (header, footer, body). The following are the attributes of tag − Attribute Value Description align Right left center justify char Deprecated − Visual alignment. char Character Deprecated − Specifies which character to align text on. Used when align = "char" charoff pixels or % Deprecated ... Read More

Create a Selectable List in HTML

Bhanu Priya
Updated on 10-Oct-2023 16:16:23

3K+ Views

The tag is used to create a drop-down list in HTML document. We just need to add the “multiple” attribute to the element. Now, in order to select multiple options, we use following syntax − text The HTML tag also supports the following additional attributes − Attribute Value Description Disabled disabled Disables the input control. The button won't accept changes from the user. It also cannot receive focus and will be skipped when tabbing. Label text Defines a label to use when ... Read More

Edge Detection Using First Derivative Operator in MATLAB

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

283 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

221 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

389 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