Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Can I connect more structure in one ?

1 Ansicht (letzte 30 Tage)
Tomas Nyiri
Tomas Nyiri am 12 Nov. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 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.

Antworten (1)

Kavya Vuriti
Kavya Vuriti am 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