Normalize columns of matrix with complex data?
13 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Adam
on 20 Jan 2017
array = array ./ ( sum( ( array .* conj(array) ).^2 ) ).^0.25
1 Comment
Amit Sravan Bora
on 19 Aug 2022
@adam Hi, is that the frobenius norm that you're dividing the matrix with?
Thanks
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!