Multiplying structure array with a scaler
Show older comments
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 Comment
DGM
on 22 Mar 2021
This might help:
numericoutputarray=[mystruct.field4]*2;
Accepted Answer
More Answers (0)
Categories
Find more on Structures in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!