Info

此问题已关闭。 请重新打开它进行编辑或回答。

Can I connect more structure in one ?

1 次查看(过去 30 天)
Tomas Nyiri
Tomas Nyiri 2019-11-12
关闭: MATLAB Answer Bot 2021-8-20
Hello, I have issue with matching structures. I really need an advice. The thing is that I have 12 structures (x,y function) with values from 0 to 100 (x axis) in each. For explaination I need match first and second structure 0-100-200 etc. up to 12th. structure. I am not sure if I described it correctly, but I would really appriciate your help. Thank you.

回答(1 个)

Kavya Vuriti
Kavya Vuriti 2019-11-15
Hi,
If there is a structure ‘S’ with fields ‘x’ and ‘y’, you can access field ‘x’ using dot notation as S.x. Assuming that you are trying to concatenate either fields in structures or the entire structures, you can refer this for former and this for latter.
Hope this helps.

标签

Community Treasure Hunt

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

Start Hunting!

Translated by