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 comments
Loading...
Problem Recent Solvers271
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2075 Solvers
-
334 Solvers
-
Create an index-powered vector
968 Solvers
-
Create an anti-identity matrix
208 Solvers
-
Determine if input is divisible by three.
243 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!