How to convert a table into an array
167 ビュー (過去 30 日間)
古いコメントを表示
Vinay Killamsetty
2019 年 10 月 2 日
編集済み: Eugenio Grabovic
2019 年 10 月 2 日
I have uploaded my table here.
I just want to convert this table into an array.
I tried command like table2array but i am getting an error
Brace indexing is not supported for variables of this type.
Error in table2array (line 27)
a = t{:,:};
Error in Verification_test (line 85)
ff=table2array(ff1);
0 件のコメント
採用された回答
Eugenio Grabovic
2019 年 10 月 2 日
編集済み: Eugenio Grabovic
2019 年 10 月 2 日
Zreal = Z_wires{:,1};
Zimg = Z_wires{:,2};
Zcomplex = Z_wires{:,3};
Z_wires_matrix = [Zreal, Zimg, Zcomplex]
or even just:
Z_wires_matrix = Z_wires{:,:};
0 件のコメント
その他の回答 (1 件)
the cyclist
2019 年 10 月 2 日
load 4layers_Z_wires.mat
table2array(Z_wires)
worked just fine for me.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Matrices and Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!