Multiplying structure array with a scaler
Mostrar comentarios más antiguos
I have Data.mat file that is a 1x365 structure array and i would like to multiply all the values of the 4th column by 2 and store them in to a variable.
1 comentario
DGM
el 22 de Mzo. de 2021
This might help:
numericoutputarray=[mystruct.field4]*2;
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Structures en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!