How to compute the norm of ever row vector in a matrix?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
If I have a matrix M, how to find the norm of each row in M in a single line or a funcrion?
Thank you
Answers (2)
Steven Lord
on 7 Mar 2020
0 votes
Use the vecnorm function.
Chunxiao Tang
on 16 Jun 2020
0 votes
vecnorm
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!