how to multiply a number to matrix?
Afficher commentaires plus anciens
Hello everyone,
I have a matrix 180X360X1332 (Latitude X Longitude X Time). I want to multiply 30 at every fourth number of third demension (e.g., 1,5,9,13......1332)
I have tried this for vector data:
Y = 30*(1:4:1332);
How can I do this for matrix data?
Thanks
3 commentaires
Bruno Luong
le 18 Juil 2022
"a number 30 in time demension at interval of 4"
Not sure someone can understand this.
Aarti Soni
le 18 Juil 2022
Bruno Luong
le 18 Juil 2022
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Creating and Concatenating Matrices 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!