How can i change struct size
80 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Catarina
el 17 de En. de 2023
Comentada: Catarina
el 17 de En. de 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 comentarios
Stephen23
el 17 de En. de 2023
Save your data in a MAT file and upload it here by clicking the paperclip button.
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Structures en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!