Problem 2769. Find out magnitude of vector
Find out magnitude of vector.
Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2)
Please don't use sum function. If you like this proble, please like it.. (Request)
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers266
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2810 Solvers
-
11951 Solvers
-
find the maximum element of the matrix
535 Solvers
-
07 - Common functions and indexing 3
424 Solvers
-
Sum the squares of numbers from 1 to n
257 Solvers
More from this Author70
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!