Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Put in a array some element of a structure
1 回表示 (過去 30 日間)
古いコメントを表示
Hello, I have a structure with 6 fields like this :
a b c d e f
'1' 3 4 8 9 6
'4' 5 6 2 1 3
'7' 5 2 1 6 8
'6' 2 1 5 8 4
I called data this structure. For instance if I write data.a I get :
ans =
'1'
ans =
'4'
ans =
'7'
ans =
'6'
In my case I just would like to create an array to put data.a inside I mean like this for instance if I call F the array :
F(1) = 1
F(2) = 4
F(3) = 7
F(4) = 6
How can I do this ?
Thank you a lot !
0 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!