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 Plot 3D Line or Point in MATLABOne can create a 3D plot of point or line using the plot3() function in MATLAB. How to Calculate Cumulative Sum Using MATLABOne can find the cumulative sum of a vector or matrix using the cumsum() function and loops in MATLAB. How to Determine Which Characters Are Letters in MATLABOne can determine which characters are letters using the isletter() function in MATLAB. How to Change Properties of a Figure in MATLABThis tutorial demonstrates the method to change the size, resolution and background color of a graph or figure in MATLAB using exportgraphics function. How to Plot 3D in MATLABThis article helps to create 3d plots using the mesh(), scatter3(), contour3(), plot3(), quiver3(), and bar3() functions in MATLAB. How to Plot Frequency Distribution Curves of Your Data in MATLABThis tutorial demonstrates the method to plot frequency distribution curves of your data in MATLAB. How to Get the Number of Columns of a Matrix in MATLABThis tutorial demonstrates the method to get the number of columns of a matrix in MATLAB. How to Create an Empty Matrix in MATLABThis tutorial demonstrates the method to create an empty matrix using different methods in MATLAB. How to Solve Quadratic Equations in MATLABThis tutorial demonstrates how to solve quadratic equations in MATLAB. How to Check the Existence of a File in MATLABOne can check if a file exists in a directory using the exist() and dir() function in MATLAB. MATLAB sscanf() FunctionOne can scan a string according to a given format using the sscanf() function in MATLAB. How to Check CPU Time in MATLABThis tutorial will discuss checking the CPU time using the tic, toc, and cputime commands in MATLAB. How to Find K-Nearest Neighbors in MATLABOne can find the k-nearest neighbors using the knnsearch() function in MATLAB. How to Apply Geometric Transformation to Images in MATLABOne can apply geometric transformation to an image using the imwarp() function in MATLAB. How to Use the Sobel Operator for Image Edge Detection in MATLABThis tutorial demonstrates how to use the sobel operator for image processing in MATLAB. How to Use Greek Symbols in Bar Graph Labels in MATLABThis tutorial discusses adding Greek symbols in a plot. One can add Greek symbols in a plot using the text() function in MATLAB. How to Find the Derivative of a Function Handle in MATLABThis tutorial demonstrates the method to find the derivative of a function handle in MATLAB. The caxis() Function in MATLABOne can set the colormap limits using the caxis() or clim() function in MATLAB. How to Plot Multiple Data Sets on a Single Scatter Plot in MATLABOne can plot multiple data sets on a single scatter plot using the scatter() function and hold on command in MATLAB. How to Calculate Fibonacci Sequence in MATLABOne can generate the Fibonacci numbers using the fibonacci() function in MATLAB. How to MATLAB Sort RowsOne can sort rows present in a matrix and a table using the sortrows() function in MATLAB. How to Insert Variable Into String in MATLABOne can insert a variable value into a string using various methods in MATLAB. How to Create Polar Plot in MATLABOne can create a polar plot using the polarplot() function in MATLAB. How to Remove NaN From Vector in MATLABThis article explores various techniques to remove NaN values from a vector, focusing on functions like isnan(), fillmissing(), and rmmissing() to clean vectors from NaN entries.