Multiplying structure array with a scaler
Ältere Kommentare anzeigen
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 Kommentar
DGM
am 22 Mär. 2021
This might help:
numericoutputarray=[mystruct.field4]*2;
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!