Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Can I connect more structure in one ?

1 vue (au cours des 30 derniers jours)
Tomas Nyiri
Tomas Nyiri le 12 Nov 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (1)

Kavya Vuriti
Kavya Vuriti le 15 Nov 2019
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.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by