Multiplying structure array with a scaler
古いコメントを表示
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 件のコメント
DGM
2021 年 3 月 22 日
This might help:
numericoutputarray=[mystruct.field4]*2;
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!