how to multiply a number to matrix?
Show older comments
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 Comments
Bruno Luong
on 18 Jul 2022
"a number 30 in time demension at interval of 4"
Not sure someone can understand this.
Aarti Soni
on 18 Jul 2022
Bruno Luong
on 18 Jul 2022
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices 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!