Normalize columns of matrix with complex data?

12 次查看(过去 30 天)
I have an array with complex values and I want to normalise the columns. I tried normc(array). But the error is: Data is complex. Is there a way to get around this?
  6 个评论
belle
belle 2017-1-20
Take each element and multiply by its complex conjugate, so the elements would become real. Square each element and add together. To normalise, divide by sqrt of the sum of the squares.

请先登录,再进行评论。

采纳的回答

Adam
Adam 2017-1-20
array = array ./ ( sum( ( array .* conj(array) ).^2 ) ).^0.25

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by