What is the magnitude of a vector in MATLAB?

MATLAB - Magnitude of a Vector. Take the product of the vector with itself, using array multiplication (.*). This produces a vector sv, whose elements are squares of the elements of vector v. sv = v.*v;
For More Information Please Refer:
https://www.tutorialspoint.com/matlab/matlab_vector_magnitude.htm
You May Also Like to Read: