Found 163 Articles for MATLAB

Find Indices of Maximum and Minimum Value of Matrix in MATLAB

Manish Kumar Saini
Updated on 07-Sep-2023 12:15:49

1K+ Views

In MATLAB, a matrix is a 2D array that is mainly used store numerical data. MATLAB allows users to perform several different types of mathematical operations on matrices. This tutorial is primarily meant for explaining two matrix operations namely, finding indices of maximum and minimum elements of the matrix. However, MATLAB does not provide any direct method for finding the indices of maximum and minimum value of a matrix, but we can do this by using a combination of different built-in functions. For example, to find the index of maximum value of matrix, we can use a combination of the ... Read More

Find Index of Cells Containing My String in MATLAB

Manish Kumar Saini
Updated on 07-Sep-2023 12:11:01

66 Views

In MATLAB, a cell array is a type of data structure used to hold data of different data types and sizes. In short, a cell array allows us to store different types of data like numbers, characters, strings, arrays, and more. In a cell array, each cell can contain a specific type of data. Cell array is a powerful tool to handle heterogeneous data. In MATLAB, the curly braces '{}' are used to create a cell array, i.e. CellArray = {10, 'TutorialsPoint', [2 3 4]}; Hence, cell arrays play a vital role, when we need to store different types ... Read More

Extract Subsets of Consecutive Entries in a Matrix in MATLAB

Manish Kumar Saini
Updated on 07-Sep-2023 10:51:31

39 Views

MATLAB is a powerful tool to manipulate matrices. In this article, we will explore how to extract subsets of consecutive entries in a matrix using MATLAB. But before that let's first get an overview of subsets of consecutive entries in a matrix. In a matrix, a set of elements that located in either rows or columns, or both in a sequence is referred to as a subset of consecutive entries in the matrix. The subsets of consecutive entries in a matrix can be extracted by specifying a range of columns and rows. The subsets of consecutive entries in a matrix ... Read More

Double Interpolation using Lookup Tables in MATLAB

Manish Kumar Saini
Updated on 07-Sep-2023 10:38:10

110 Views

Double Interpolation is a mathematical method used to calculate values within a set of data points. It is basically an advanced version of interpolation, as it is used to interpolate a function that depends on two variables. In other words, the double interpolation is a method of estimating value of a function within a set of a data points by combining two distinct interpolation processes. In this tutorial, I will explain how to calculate double interpolation using lookup table in MATLAB. But before let's get a basic overview of terms "interpolation", "double interpolation", and "lookup table". What is Interpolation? ... Read More

What is Color Histogram Equalization in MATLAB?

Manish Kumar Saini
Updated on 06-Sep-2023 16:01:03

138 Views

In digital image processing, there is a technique called histogram equalization which is used to enhance the visual quality of an image by manipulating contrast in the image. Histogram equalization improves the quality of an image by redistributing the pixel values across the entire image, so that the histogram of the image can be uniformly distributed. Histogram is nothing but the frequency of occurrence of each pixel intensity value. Sometimes, we see that the pixel intensities in an image are concentrated in a particular range and results in the poor visual quality of the image. Histogram equalization is used to ... Read More

What are different types of denoising filters in MATLAB?

Manish Kumar Saini
Updated on 06-Sep-2023 16:00:05

119 Views

In MATLAB, a denoising filter is a tool that can reduce or remove noise from a digital image or a digital signal. As we know, noise is an unwanted signal or disturbance in a digital signal that impacts the quality of the signal or can cause errors in the signal processing. Therefore, it is required to remove or reduce the noise in a signal or image. This can be done with the help of a denoising filter. In this tutorial, we will explore several different types of denoising filter in MATLAB and will implement them using MATLAB programming. Types of ... Read More

Trapezoidal numerical integration in MATLAB

Manish Kumar Saini
Updated on 06-Sep-2023 15:58:09

156 Views

In mathematics, trapezoidal numerical integration is a method of approximating the definite integral of a function over a certain interval. In the trapezoidal numerical integration, a curve is divided into multiple trapezoids and then areas of all the trapezoids are calculated and added to estimate the total area under the curve. It is a basic method for approximating the definite integral of a function. Hence, it is not much accurate as the other advanced integration methods. However, for simple functions, this method can provide a reasonable approximation. Trapezoidal Numerical Integration Using MATLAB In MATLAB, we have a built-in function 'trapz' ... Read More

How To Create Video from Sequence of Images Using MATLAB?

Manish Kumar Saini
Updated on 06-Sep-2023 15:57:07

83 Views

In MATLAB, we can create a video from a sequence of images. In this tutorial, we will explore the steps involved in creating a video from an image sequence and will take an example to understand the concept practically. Process of Creating Video From a Sequence of Images The step-by-step process of creating a video from a sequence of images is explained below − Step (1) − Firstly, collect all the images in a folder that we want to use in the video. Step (2) − Read all the images using the 'imread' function and store them in a ... Read More

How to Create a Textarea Component in MATLAB?

Manish Kumar Saini
Updated on 06-Sep-2023 15:54:37

57 Views

In MATLAB, we have a built-in GUI App Designer environment that allows us to develop various types of GUI (Graphical User Interface) applications with proper knowledge of software engineering and programming. In this MATLAB’s app designer environment, we can create various kinds of GUI components such as TextFields, Buttons, NumEditFields, Labels, Hypertext, and more. In this tutorial, we will explore how to create a TextArea Component in MATLAB app. TextArea Component in MATLAB In MATLAB, the TextArea is a GUI component allows application users to input a string of text. MATLAB provides a built-in function ‘uitextarea’ to create a TextArea ... Read More

How to Create a New Matrix from All Possible Row Combinations in MATLAB?

Manish Kumar Saini
Updated on 06-Sep-2023 15:52:29

53 Views

In MATLAB, a matrix is nothing but a 2D (two-dimensional) array of numbers arranged in multiple rows and columns. Matrix is the most elementary data structure in MATLAB programming which is utilized to store and manipulate data. In this tutorial, we will learn how to create a new matrix from all possible row combinations in MATLAB. For this, we can use MATLAB's built-in function 'randperm'. The 'randperm' function will randomly select a row index and create a new matrix. Algorithm The step-by-step process to create a new matrix from all possible row combinations is described below − Step (1) ... Read More

Previous 1 ... 7 8 9 10 11 ... 17 Next
Advertisements