Practical solutions

Matlab Howtos How-To Guides

Solve the problem. Keep building. Collection of Matlab how-to articles

Find the answer you need

Browse practical solutions, grouped by the task you're working on.

__COUNT__ entries on this page

How to Append Vector to 3D Matrix in MATLABThis article will guide you through the ways to append a vector to a 3D matrix in MATLAB. MATLAB Norm() FunctionIn this article, we will delve into the details of MATLAB `norm()` function, exploring its syntax, applications, and options. How to Remove Zeros From a Vector in MATLABThis tutorial will discuss several methods to remove zero values from a vector in MATLAB. How to Swap Rows and Columns in MATLABThis tutorial demonstrates how to swap rows and columns in MATLAB. How to Plot Line Styles in MATLABOne can make one line different from another in the plot using the line styles, markers, and colors. How to Plot Color Map in MATLABOne can use the mesh(), meshc(), meshz(), and surf() function to plot a color map of the given matrix. How to Create Log Plot in MATLABOne can plot the variables on a log scale using the loglog(), semilogx(), and semilogy() function. How to Plot Histogram in MATLABOne can plot a histogram by using the histogram() and histogram2() function in MATLAB. How to Create Custom Legend in MATLABOne can add custom legends using the legend() and text() function in MATLAB. How to Read XLSX in MATLABOne can read the excel file using the readtable(), readmatrix(), and readcell() function in MATLAB. How to Loop Through Vector in MATLABThere are various ways to loop through a vector in MATLAB, we are going to discuss them all in this article. How to Sum Elements of a Matrix in MATLABWe can sum the elements of a matrix using a loop and sum() function in MATLAB. How to Read CSV File in MatlabOne can read the CSV file using the readtable(), readmatrix(), and readcell() function in MATLAB. How to Shift Array in MATLABOne can shift an array manually and using the circshift() function in MATLAB. How to Get Roots of Polynomial in MatlabOne can find the roots of the polynomial using the roots() and solve() function in MATLAB. How to Apply Subplot Title in MATLABWe can add a title to a group of subplots using the sgtitle() and suptitle() function in MATLAB. How to Create Random Matrix in MATLABWe can generate random numbers using the rand(), randi(), randn(), randperm(), betarand(), and random() function in MATLAB. How to Create a Function in MATLABOne can create a function using the variable function in MATLAB. How to Flip Image in MATLABOne can flip an image using the flip() function in MATLAB. How to Change Legend Title in MATLABOne can change the title of a legend using the `title()` function in MATLAB. How to Plot Circle in MATLABOne can plot a circle using the rectangle() function in MATLAB. How to Create Scatter Plot in MATLABOne can create a scatter plot using the scatter() function in MATLAB. The Conditional Statement in MATLABOne can define the conditions for code execution using the conditional statements in MATLAB. How to Plot 3D Quiver or Vector in MATLABOne can create a 3D quiver or vector plot using the quiver3() function in MATLAB.