MATLAB Articles

Page 8 of 13

How to Create a Hyperlink Component in MATLAB?

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

Difference between Reluctance Motor and Induction Motor

Manish Kumar Saini
Manish Kumar Saini
Updated on 06-Sep-2023 5K+ Views

Electric motors are present in the industry to help us to drive a lot of numbers of mechanical loads in the industry. They have a moving and stationary part to interact with the magnetic field and current to transform electric energy into mechanical energy. They have dominated the industry from automobiles to robotics and household to industrial applications. In this tutorial, we will explore the important differences between a reluctance motor and an induction motor. The most fundamental difference between a reluctance motor and an induction motor is that a reluctance motor operates on the principle of magnetic reluctance while ...

Read More

Difference between inv() and pinv() functions in MATLAB

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

In this tutorial, we will discuss two important functions namely, "inv()" and "pinv()", used for matrix inversion in MATLAB. Since, the fundamental purpose of both the functions is the same, i.e. matrix inversion, but they are different from each other in many aspects. Hence, we will learn the important differences between 'inv()' and 'pinv()' functions. What is 'inv()' Function? In MATLAB, the 'inv()' function is a built-in function used to calculate the inverse of a non-singular square matrix. Therefore, if 'M' is a non-singular square matrix, then the function 'inv(M)' will return a new matrix 'B' for which 'I = ...

Read More

Definite Numerical Integration Using Quad in MATLAB

Manish Kumar Saini
Manish Kumar Saini
Updated on 06-Sep-2023 338 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 619 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 203 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

Create a Slider Component in MATLAB

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

MATLAB is a high-level programming language that allows us to create GUI applications without need of proper programming knowledge. In a MATLAB application, we can create various kinds of GUI (Graphical User Interface) components such as buttons, slider, text and number fields, hyperlinks, and many more. This tutorial is meant for explaining the process of creating a slider component in a MATLAB application. A slider component in MATLAB application is a GUI component that allows users to chose a specific value from a range just by dragging a slider/wiper control along the range track. In MATLAB, we can create a slider ...

Read More

Cosine Similarity Calculation Between Two Matrices in MATLAB

Manish Kumar Saini
Manish Kumar Saini
Updated on 06-Sep-2023 1K+ Views

In this tutorial, we will learn how to calculate cosine similarity between two matrices using MATLAB. So, let’s start with the basic definition of cosine similarity. What is Cosine Similarity? Cosine similarity is a standard of measurement in matrix algebra used to determine the measure of similarity between two non-zero matrices in an inner product space like Euclidean space. Cosine similarity measures the cosine of the angle between the two matrices and produces a value between -1 and 1. Here, the value 1 indicates that the two matrices are perfectly similar, and the value -1 indicates that the two matrices ...

Read More

Bit and Byte Organized Memory

Manish Kumar Saini
Manish Kumar Saini
Updated on 05-Sep-2023 878 Views

In the field of computer, the terms “Bit”, “Byte”, and “Memory” are very commonly used. Memory is defined as a property of a device responsible for storing information. Bit and Bytes are two fundamental measurement units of memory capacity. A bit is used to represent a binary digit, either a 0 or a 1. While the term byte is used to specify a group of 8-bits. In computer systems, digital memory can be organized either in bits or bytes. In this article, we will discuss the various important concepts related to the topic “bit and byte organized memory”. Concept of ...

Read More

Binarization of Digital Images Using Otsu Method in MATLAB

Manish Kumar Saini
Manish Kumar Saini
Updated on 05-Sep-2023 499 Views

In digital image processing, the process of transforming a color image or a grayscale image into a binary image is referred to as binarization of the image. In a binary image, the image pixels are represented using binary values i.e., 0 and 1, where 0 represents the black pixel and 1 represents the white pixel. Binarization is an efficient technique to simplify the image analysis and it also helps in extracting important characteristics of the image. Process of Binarization of Digital Images The process of binarization of a digital image is based on the use of a threshold value to ...

Read More
Showing 71–80 of 124 articles
« Prev 1 6 7 8 9 10 13 Next »
Advertisements