Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
Cantor Set
Cantor Set am 7 Mär. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (2)

Steven Lord
Steven Lord am 7 Mär. 2020
Use the vecnorm function.

Chunxiao Tang
Chunxiao Tang am 16 Jun. 2020
vecnorm

Community Treasure Hunt

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

Start Hunting!

Translated by