Matrix with numerical sequence
Mostrar comentarios más antiguos
Hi!
i am creating a matrix (n,m), which are the input values. the matrix needs to be like this:
[1 4 2 .... 4 2 4 1;
4 16 8 ....16 8 16 4;
2 8 4 ... 8 4 8 2;
.... .....;
4 16 8 ...16 8 16 4;
2 8 4 .... 8 4 8 2;
4 16 8 ....16 8 16 4;
1 4 2 .....4 2 4 1]
how do i code this in matlab?
2 comentarios
Birdman
el 12 de En. de 2018
The pattern is not clear to me. Can you be more specific?
marco lopes
el 12 de En. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!