How can i change struct size
33 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Catarina
am 17 Jan. 2023
Kommentiert: Catarina
am 17 Jan. 2023
Hi, I currently have one struct variable that includes another structure with dimensions 1x64, that itself contains three different fields (X,Y,Z). Each one of these fields has 64 numbers (hence, three columns with 64 lines each). However, I want to eliminate lines 49 to 64 because I only need the first 48 lines for each field. Overall what I pretend is to resize this 1x64 structure to a 1x48 one.
How can I do this? The only solution i found was to replace their value by "[]" which is not quite what im looking for.
Thank you in advance!
2 Kommentare
Stephen23
am 17 Jan. 2023
Save your data in a MAT file and upload it here by clicking the paperclip button.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Structures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!