Manish Kumar Saini has Published 1143 Articles

Trapezoidal Numerical Integration without using trapz in MATLAB

Manish Kumar Saini

Manish Kumar Saini

Updated on 18-Jul-2023 13:14:55

688 Views

Introduction to Trapezoidal Numerical Integration Trapezoidal numerical integration is a method used for finding the approximate value of a definite integral. It is also called as the trapezoidal rule. In the case of trapezoidal numerical integration method, we use trapezoids to calculate the area under a curve. In ... Read More

Read Words in a File in Reverse Order in MATLAB

Manish Kumar Saini

Manish Kumar Saini

Updated on 18-Jul-2023 13:04:05

165 Views

Consider a text file containing a sentence “I Study MATLAB from Tutorials Point.” Now, we want to read these words of the text file in the reverse order, the result will be “Point Tutorials from MATLAB Study I.”. In this article, we will explore the implementation of MATLAB program to ... Read More

Intensity Transformation Operations on Images in MATLAB

Manish Kumar Saini

Manish Kumar Saini

Updated on 18-Jul-2023 13:01:33

2K+ Views

Introduction to Intensity Transformation in MATLAB In MATLAB, the intensity transformation operation on images is one of the most fundamental image processing technique. It is an image processing operation in which the results depend on the intensity of an image. In MATLAB, the intensity transformation operations on images are ... Read More

How to Set Axis Limits in MATLAB

Manish Kumar Saini

Manish Kumar Saini

Updated on 18-Jul-2023 12:59:21

4K+ Views

MATLAB provides various built-in functions, such as xlim(), ylim(), and axis() that help us to adjust axis limits as per our requirements. In this tutorial, we will learn about adjusting axis limits of a plot in MATLAB. Functions to Set Axis Limits In MATLAB, there are three main functions widely ... Read More

How to Set Axis Tick values in MATLAB?

Manish Kumar Saini

Manish Kumar Saini

Updated on 18-Jul-2023 12:56:06

646 Views

To apply custom axis tick values, MATLAB has two built-in functions “xticks()” and “yticks()”. Here, the “xticks()” function is used for customizing the tick values of X-axis in a MATLAB plot, while the “yticks()” function is used for setting custom tick values to Y-axis. Syntax xticks([custom_tick_values]); yticks([custom_tick_values]); The ... Read More

How to Create Logarithmic Scales in MATLAB

Manish Kumar Saini

Manish Kumar Saini

Updated on 18-Jul-2023 12:38:11

1K+ Views

MATLAB has three built-in functions "semilogx", "semilogy", and "loglog" to covert the linear axis scales to logarithmic scales in a plot. Here, the “semilogx()” function is used to change the X-axis scale to a logarithmic scale. The “semilogy()” function is used to change the Y-axis scale to a logarithmic ... Read More

How to Create Custom Axis Labels in MATLAB

Manish Kumar Saini

Manish Kumar Saini

Updated on 18-Jul-2023 12:30:12

789 Views

MATLAB programming has different built-in functions to customize the axis labels. In this article, we will explore the creation of custom axis labels of a plot in MATLAB. Functions to Customize Axis Labels MATLAB has the following built-in functions to create customized axis labels: ... Read More

How to Add Grid Lines in MATLAB

Manish Kumar Saini

Manish Kumar Saini

Updated on 18-Jul-2023 12:26:01

2K+ Views

MATLAB provides various options to control the visibility of gridlines in a plot. By using these options, we can display or hide both major and minor grid lines. Gridline Control Options MATLAB has the a “grid” option that can accept three control values, i.e. “on”, “off”, and “minor” to control ... Read More

Floating Point Precision in MATLAB

Manish Kumar Saini

Manish Kumar Saini

Updated on 18-Jul-2023 11:38:52

407 Views

In MATLAB, the numeric class consists of various data types, such as signed integers, unsigned integers, single-precision floating point number, and double-precision floating point numbers. In MATLAB, the floating point precision basically defines the number of significant digits that can be specified and manipulated by performing a floating point ... Read More

Create Array of Zeros in MATLAB

Manish Kumar Saini

Manish Kumar Saini

Updated on 18-Jul-2023 11:33:49

357 Views

In MATLAB, the variables are typically stored in the form of a matrix or array. Sometimes, we require a matrix or array of zeros to perform a specific operation. Therefore, MATLAB allows us to create a matrix or array of zeros. For this task, we can use MATLAB's built-in functions ... Read More

Advertisements