Home » All Programs » Calculation Of Euclidean Norm Of Vectors In MatLab®(Illustrated Expression)

Calculation Of Euclidean Norm Of Vectors In MatLab®(Illustrated Expression)

In some vector mechanics calculations or various kinds of mathematical calculations, the norms of vectors could be required. In Matlab®, you can calculate and index the Euclidean norms of vectors. In this article, we will show you how to index the Euclidean norms of vectors with the ‘norm()’ command in Matlab® with a very basic example below.

How To Use The ‘norm()’ Command In Matlab®?

>> a = [4 1 5]
b = norm(a)
c = 3*b

a =

     4     1     5


b =

    6.4807


c =

   19.4422

>> 

For example, we created a vector that has three elements called ‘a’ as shown above in Matlab®. We calculated the Euclidean norm of this vector with the norm() command by simply type the variable ‘a’ inside the norm(). The calculation is done with this calculation; the root of 4^2+1^2+5^2. This is the general rule of Euclidean norm.

YOU CAN LEARN MatLab® IN MECHANICAL BASE; Click And Start To Learn MatLab®!

Also, you can do mathematical calculations with the norm() function as shown above in Matlab®.

Conclusion

The use of the norm() command to calculate Euclidean norms of vectors in Matlab® is very simple like above. Leave your comments and questions below about the ‘norm()’ command in Matlab®!

This article is prepared for completely educative and informative purposes. Images used courtesy of Matlab®

Your precious feedbacks are very important to us.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *


Please

leave feedback ?

( For the post )

ASK THE MECHANICALLAND

COMMUNITY


We are always open to your feedback to improve ourselves and the quality of our content! If you have any suggestions, thoughts, or criticism, please let us know. We are trying to improve our blog with constructive feedback. We are aware of how valuable your feedback is for our future development, and we will carefully read all your comments. Thank you in advance!