Row to column matrix
18 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
armin m
am 17 Sep. 2021
Kommentiert: William Rose
am 17 Sep. 2021
Hi i want to convert row to column matrix. But my matrix includes complex numbers which transposing it causes convertion of new matrix to conjucate form. What can i do to avoid this. I mean for example:
A=[1+5i,4+6i]
I want
A=[1+5i]
[4+6i]
But A' takes
A=[1-5i]
[4-6i]
Tnx.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 17 Sep. 2021
Use .' or reshape():
A = [1 + 5i, 4 + 6i]
A = A.' % Alternative 1
A = reshape(A, [], 1) % ALternative 2
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Numeric Types 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!