Normalize columns of matrix with complex data?
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
belle
am 20 Jan. 2017
Kommentiert: Amit Sravan Bora
am 19 Aug. 2022
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 Kommentare
Akzeptierte Antwort
Adam
am 20 Jan. 2017
array = array ./ ( sum( ( array .* conj(array) ).^2 ) ).^0.25
1 Kommentar
Amit Sravan Bora
am 19 Aug. 2022
@adam Hi, is that the frobenius norm that you're dividing the matrix with?
Thanks
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!