Multiplying structure array with a scaler
Afficher commentaires plus anciens
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 commentaire
DGM
le 22 Mar 2021
This might help:
numericoutputarray=[mystruct.field4]*2;
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Structures dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!