How to convert [2x1 double] for [1x2 double]?
40 ビュー (過去 30 日間)
古いコメントを表示
I have an result in Worspace with [2x1 double], need for result in format [1x2 double]. is possible?.
0 件のコメント
採用された回答
Pierre845
2018 年 8 月 29 日
You need to transpose the result.
if X is your result, do
X = X';
1 件のコメント
Stephen23
2018 年 8 月 29 日
編集済み: Stephen23
2018 年 8 月 29 日
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.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Numeric Types についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!