Programming Articles

Page 267 of 2544

What is Color Histogram Equalization in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 06-Sep-2023 327 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
Manish Kumar Saini
Updated on 06-Sep-2023 470 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

How To Create Video from Sequence of Images Using MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 06-Sep-2023 260 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
Manish Kumar Saini
Updated on 06-Sep-2023 265 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
Manish Kumar Saini
Updated on 06-Sep-2023 219 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

How to Create a Hyperlink Component in MATLAB?

Manish Kumar Saini
Manish Kumar Saini
Updated on 06-Sep-2023 223 Views

In MATLAB, we can use the MATLAB's built-in GUI environment 'App Designer' to create a hyperlink component. The App Designer Environment of MATLAB allows to create several types of GUI components like hyperlink, buttons, sliders, text fields, etc. To create a hyperlink component in MATLAB, we can use a built-in option 'uihyperlink'. This function creates a GUI hyperlink component in MATLAB. This function allows users to navigate across web resources with a single click. The 'uihyperlink' function creates a hyperlink object in a MATLAB app. The 'uihyperlink' function can have the following syntaxes. (1). Create Hyperlink Object with Default Properties ...

Read More

Check if a string contains a number using Java.

Anjana
Anjana
Updated on 06-Sep-2023 41K+ Views

To find whether a given string contains a number, convert it to a character array and find whether each character in the array is a digit using the isDigit() method of the Character class.ExampleLive Demopublic class ContainsExample {    public static void main(String args[]){       String sample = "krishna64";       char[] chars = sample.toCharArray();       StringBuilder sb = new StringBuilder();       for(char c : chars){          if(Character.isDigit(c)){             sb.append(c);          }       }       System.out.println(sb);    } }Output64

Read More

Definite Numerical Integration Using Quad in MATLAB

Manish Kumar Saini
Manish Kumar Saini
Updated on 06-Sep-2023 334 Views

In this tutorial, we will learn how to calculate definite numerical integration using Quad function in MATLAB. But before that, let us first understand what is definite numerical integration. What is Definite Numerical Integration? In mathematics, a method of determining the approximate value of the definite integral of a function over a certain interval is termed as definite numerical integration. Where, the definite integral specifies the signed area under the curve of a function within the specified interval. The definite numerical integration is beneficial in approximating the value of a definite integral of a function when it is not possible ...

Read More

Cubic Spline Data Interpolation in MATLAB

Manish Kumar Saini
Manish Kumar Saini
Updated on 06-Sep-2023 615 Views

In mathematics, the cubic spline data interpolation is a way of calculating values between data points of a given data set. This technique is widely used when we want to plot a smooth curve passing through these data points. In MATLAB, we can calculate the cubic spline data interpolation by using any of two built-in functions namely, 'spline' or 'interp1'. Syntax Where, the syntax of the 'spline' function is, I = spline(x, y, query); Here, 'x and 'y' are the vectors containing input data points required for interpolation, and 'query' is the vector that contains data points at which ...

Read More

Create Cartesian Axes in MATLAB

Manish Kumar Saini
Manish Kumar Saini
Updated on 06-Sep-2023 193 Views

When a figure is constructed in MATLAB as a graphical component, the cartesian axes are automatically added; however, MATLAB has a function, the 'axes()' function, to carry out the specific task. Cartesian axes are produced in a figure by this function. When several cartesian planes are required in a single figure component, it is quite helpful. In this tutorial, we will explore how to create cartesian axes in MATLAB. Now, let us discuss different syntaxes of the 'axes' function to create cartesian axes with the help of example programs. (1). Create Default Cartesian Axes In MATLAB, we can use the ...

Read More
Showing 2661–2670 of 25,433 articles
« Prev 1 265 266 267 268 269 2544 Next »
Advertisements