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 Solvers262
Suggested Problems
-
Find the sum of all the numbers of the input vector
52874 Solvers
-
12743 Solvers
-
Getting the absolute index from a matrix
252 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13105 Solvers
-
Magic is simple (for beginners)
10648 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!