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!