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
-
Replace NaNs with the number that appears to its left in the row.
3059 Solvers
-
635 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
395 Solvers
-
Compute LOG(1+X) in natural log
262 Solvers
-
558 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!