Find out magnitude of vector - MATLAB Cody - MATLAB Central

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

68.72% Correct | 31.28% Incorrect
Last Solution submitted on May 02, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers259

Suggested Problems

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!