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 Solvers247
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
8763 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15375 Solvers
-
Longest run of consecutive numbers
5147 Solvers
-
12612 Solvers
-
Find out value of sine given by degree.
324 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!