How do you apply FOR loop to cell arrays?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Abhishek Baba
el 24 de Nov. de 2020
I've a large 512x512 matrix which I've divided into 1024 16x16 matrices, and again these 1024 16x16 matrices I've further divided into 4x4 matrix. I've used mat2tiles function for this division.
Then I've applied a function to a 4x4 matrix. Now I want to apply this same function to all the 4x4 matrices present in the cell.
Any idea how to proceed further from this?
Thank you.
2 comentarios
Rik
el 24 de Nov. de 2020
What have you tried?
You can show exactly what you did either with your actual data, or with data=rand(512,512);.
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrices and Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!