- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 163 Articles for MATLAB

110 Views
MATLAB is an efficient tool to create matrices. In MATLAB, a matrix is a two-dimensional array that can store data in the form of rows and columns. MATLAB allows us to create matrices by using nested loops. In this tutorial, we will learn how to create a matrix using a nested loop in MATLAB. In MATLAB, creating a matrix using nested loop is a straightforward two step process. The step-by-step process to create a matrix using a nested loop is explained below − Step (1) − Initialize the matrix and specify the loop limits depending on the number of ... Read More

39 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

355 Views
Discrete Fourier transform and Inverse discrete Fourier transform are two mathematical operations used to analyze functions and signals in the frequency domain. Both DFT and IDFT are widely used in the field of digital signal processing to synthesize and analyze the digital signals. Let's discuss a bit more about the Discrete Fourier Transform (DFT) and Inverse Discrete Fourier Transform (IDFT) individually. What is Discrete Fourier Transform (DFT)? In mathematics, the discrete Fourier transformation (DFT) is a transformation technique that is used to convert a sequence of discrete datapoints from time domain to frequency domain. DFT basically converts a sequence of ... Read More

68 Views
In mathematics, differential or derivative is one of the fundamental operations used to determine the rate of change of a function. Therefore, derivatives are crucial to analyze various scientific and engineering processes or functions. We can perform derivates using various mathematical tools like MATLAB. In this tutorial, we will explore how to calculate derivative of a given mathematical function using MATLAB. But before that let's first get an overview of derivative. What are Derivatives? Derivative is a mathematical operation used to compute the rate of change occurring in a function or a process. In terms of geometry, derivates is defined ... Read More

343 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

71 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

223 Views
In mathematics, there are two operations namely, convolution and correlation used to manipulate two functions to produce a third function. Both operations play a vital role in various fields such as digital signal processing, digital image analysis processing, solving complex mathematical problems and many more. Convolution and correlation are also used to extract information and patterns in the field of data science. However, there are various significant differences between convolution and correlation. The most fundamental difference between convolution and correlation is that convolution is a mathematical operation used to combine two functions to produce a new function, while correlation is ... Read More

37 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

39 Views
In this tutorial, we will define various import options for table in MATLAB. The import options allow us to bring data into a table or another data format. For example, we can utilize this option to read data from a given spreadsheet file "sample.xlsx" into MATLAB in the form of a table. By using the import options, we have the ability to open the designated file, select the desired output format and date range, and then save our selections. Upon clicking the "Import Selection" option, the specified data can be easily integrated into the MATLAB workspace. Additionally, the tabular ... Read More

75 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