double a number within a matrix with a certain characteristic
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
AA
el 1 de Oct. de 2015
Respondida: Walter Roberson
el 1 de Oct. de 2015
736231
736202
736169
how can I turn this matrix into a matrix with the following characteristics:
736231
736230
736202
736201
736169
736168
0 comentarios
Respuesta aceptada
Walter Roberson
el 1 de Oct. de 2015
result = reshape([YourMatrix.'; YourMatrix.'-1], [], 1);
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!