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

19 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by