how to calculate the norm of each elements of a matrix?

23 ビュー (過去 30 日間)
Davoud
Davoud 2019 年 1 月 19 日
回答済み: Star Strider 2019 年 1 月 19 日
I have a 4*n matrix which its elements are complex numbers. I want to calculate the norm of each element of the matrix to create a 4*n matrix of norms without using for loops.
Thank you in advance

採用された回答

Star Strider
Star Strider 2019 年 1 月 19 日
I am not certain what you intend with the term ‘norm’.
See if the abs (link) function will do what you want.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by