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 Resize Image in MATLABIn this article, we'll explore how to resize images in MATLAB using the built-in function imresize() and discuss various techniques and considerations. How to Generate a Summation of a Series in MATLABThis tutorial will discuss generating a summation of a series. One can find the summation of series using the symsum() function, vectorized operations, and iterative loops in MATLAB. MATLAB fzero FunctionOne can find the roots of a nonlinear function using the fzero() function in MATLAB. MATLAB Repelem() FunctionOne can repeat copies of array elements using the repelem() function in MATLAB. MATLAB Deg2rad FunctionIn this article, we'll delve into the details of how to effectively use the deg2rad() function in MATLAB to convert angles from degrees to radians. How to Reverse Colormap in MATLABOne can reverse a colormap using the flipud() and flip() function in MATLAB. The find() Function in MATLABThis tutorial will discuss how we can use the find() function to find values and indices of non-zero elements in a vector or matrix in MATLAB. How to Plot Exponential Function of Any Equation in MATLABThis tutorial demonstrates the method to plot an exponential function of any equation under observation in MATLAB. How to Convert Number to String in MATLABThis tutorial will discuss converting a number to string using the num2str() function in MATLAB. The nnz() Function in MATLABIn this article, we will explore the syntax, applications, and examples of using the nnz() function in MATLAB. Modulo in MATLABThis tutorial demonstrates the basics of the modulo operation in MATLAB, exploring its syntax, applications, and practical examples. How to Get the Size of Vector in MatlabIn this article, we will explore various methods to achieve this goal using the size(), length(), and numel() functions. How to Check Variable Type in MATLABIn this article, we'll explore different methods to check the type of a given variable in MATLAB. MATLAB BracketsOne can use the square brackets to create matrices and curly brackets to create cell arrays in MATLAB. How to Round Number in MatlabIn this article, we will explore the syntax and functionality of key MATLAB rounding functions – round(), floor(), ceil(), and fix() – offering insights and practical examples to equip you with the knowledge needed to round numbers effectively in your MATLAB endeavors. How to Iterate Through Matrix in MATLABOne can iterate through a matrix using the linear indexing, arrayfun(), and cellfun() function in MATLAB. How to Draw Arrow in MATLABWe can add an arrow on a plot using the annotation(), text(), and quiver() functions in MATLAB. How to Sum Elements of an Array in MATLABIn this article, we will explore different methods to calculate the sum of array elements in MATLAB. How to Get Average of Array With the mean() Function in MatlabIn this article, we will explore different methods to find the mean of an array in MATLAB. How to Find Index of Value in Array in MatlabOne can find the index of a value in an array using the find() function in MATLAB. How to Create Array of Zeros in MATLABIn this article, we will explore the various ways to create an array of zeros in MATLAB. How to Check Whether an Array or Matrix Is Empty or Not in MATLABThis tutorial demonstrates how to determine whether an array or matrix is empty or not in MATLAB. MATLAB sin() and sind() FunctionsIn this detailed exploration, we will unravel the intricacies of MATLAB `sind()` function, delving into its syntax, applications, and insights it provides into the world of trigonometry. How to Calculate Inverse Cosine in MATLABIn this article, we will delve into the use of MATLAB `acos()` function to find the inverse cosine of a value, exploring its syntax, applications, and insights into the world of inverse trigonometry.