Manish Kumar Saini has Published 958 Articles

How to plot a Histogram in MATLAB?

Manish Kumar Saini

Manish Kumar Saini

Updated on 10-Oct-2023 18:28:19

546 Views

A histogram is a graphical representation of data that shows the frequency distribution of data points. MATLAB provides a built−in function "histogram" to plot the histogram of a data set. What is a Histogram in MATLAB? In MATLAB, the histogram is a graphical method of representing the frequency distribution of ... Read More

How to Find the Position of a Number in an Array in MATLAB?

Manish Kumar Saini

Manish Kumar Saini

Updated on 10-Oct-2023 18:26:42

453 Views

The position of a number in an array or a matrix is also known as index of that number within the array or matrix. In MATLAB, arrays are one−indexed that means the index of the first element of the array will be "1", the index of the second element will ... Read More

How to Find Indices and Values of Nonzero Elements in MATLAB?

Manish Kumar Saini

Manish Kumar Saini

Updated on 10-Oct-2023 17:54:12

336 Views

MATLAB is a powerful tool to perform operations and calculations related to arrays and matrices. In MATLAB, an array or a matrix is a type of data structure used to store numeric data. Each value stored in an array or matrix is termed as an element. The position of an ... Read More

How to Find Index of Element in Array in MATLAB?

Manish Kumar Saini

Manish Kumar Saini

Updated on 10-Oct-2023 17:41:47

2K+ Views

In MATLAB, an array is a data structure used to store numeric data and information. The values stored in an array is called its element. The position of an element within an array is known as index of the element. The index of element is used to access the element ... Read More

How to extract numbers from cell array in MATLAB?

Manish Kumar Saini

Manish Kumar Saini

Updated on 10-Oct-2023 17:29:34

356 Views

MATLAB is an efficient tool to perform operations on arrays and matrices. In MATLAB, there are several built-in functions available for cell indexing and conversion that can be used to extract numbers from a cell array. Before proceeding further, let us first get an overview of cell array in MATLAB. ... Read More

How to Export a Matrix as a CSV File in MATLAB?

Manish Kumar Saini

Manish Kumar Saini

Updated on 10-Oct-2023 17:27:19

5K+ Views

In MATLAB, exporting a matrix as a CSV file is a common process which is used to save the numerical data stored in MATLAB matrix in such a format that can easily processed by using any other types of software. MATLAB matrixes are exported as a CSV file for ... Read More

How to Draw a Circle of Given Radius in MATLAB?

Manish Kumar Saini

Manish Kumar Saini

Updated on 10-Oct-2023 17:12:58

370 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 ... Read More

How to Detect Face in Image Processing Using MATLAB?

Manish Kumar Saini

Manish Kumar Saini

Updated on 10-Oct-2023 17:10:41

340 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, ... Read More

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

Manish Kumar Saini

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 ... Read More

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

Manish Kumar Saini

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 ... Read More

Advertisements