Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
Cantor Set
Cantor Set il 7 Mar 2020
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (2)

Steven Lord
Steven Lord il 7 Mar 2020
Use the vecnorm function.

Chunxiao Tang
Chunxiao Tang il 16 Giu 2020
vecnorm

Community Treasure Hunt

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

Start Hunting!

Translated by