how to multiply a number to matrix?
Mostrar comentarios más antiguos
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 comentarios
Bruno Luong
el 18 de Jul. de 2022
"a number 30 in time demension at interval of 4"
Not sure someone can understand this.
Aarti Soni
el 18 de Jul. de 2022
Bruno Luong
el 18 de Jul. de 2022
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!