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

조회 수: 17 (최근 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 CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by