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 Solvers257
Suggested Problems
-
Determine the number of odd integers in a vector
752 Solvers
-
352 Solvers
-
Switch matrix to a column vector
359 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
248 Solvers
-
Matlab Basics II - Count rows in a matrix
381 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!