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);

 채택된 답변

Eugenio Grabovic
Eugenio Grabovic 2019년 10월 2일
편집: Eugenio Grabovic 2019년 10월 2일

1 개 추천

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{:,:};

추가 답변 (1개)

the cyclist
the cyclist 2019년 10월 2일

2 개 추천

load 4layers_Z_wires.mat
table2array(Z_wires)
worked just fine for me.

카테고리

도움말 센터File Exchange에서 Tables에 대해 자세히 알아보기

제품

릴리스

R2019b

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by