How to convert [2x1 double] for [1x2 double]?
39 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Leandro B. Castellanos
il 29 Ago 2018
Modificato: Stephen23
il 29 Ago 2018
I have an result in Worspace with [2x1 double], need for result in format [1x2 double]. is possible?.
0 Commenti
Risposta accettata
Pierre845
il 29 Ago 2018
You need to transpose the result.
if X is your result, do
X = X';
1 Commento
Stephen23
il 29 Ago 2018
Modificato: Stephen23
il 29 Ago 2018
Note that this answer is not a general solution. The operator shown is the complex conjugate transpose '. If the data is complex (which this question does not specify), then this will give an incorrect output.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Data Type Conversion in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!