Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to compute the norm of ever row vector in a matrix?

1 次查看(过去 30 天)
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

回答(2 个)

Steven Lord
Steven Lord 2020-3-7
Use the vecnorm function.

Chunxiao Tang
Chunxiao Tang 2020-6-16
vecnorm

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by