How do you align column in a matrix?
Mostrar comentarios más antiguos
I'm trying to create this matrix:

However, I'm gettng this:

This is my code:

I'm sure it has something to do with the format operators but I'm not sure what it is.
Thank you for your help in advance
4 comentarios
James Tursa
el 18 de Jun. de 2021
Will you always know how many decimal digits you want printed? Or will this depend on the values in Node?
Mo A
el 18 de Jun. de 2021
Stephen23
el 18 de Jun. de 2021
"This is my code:"
No, that is an image of some code: we cannot run code in an image, nor can we use that matrix.
Please provide code as text.
Mo A
el 18 de Jun. de 2021
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Operators and Elementary Operations 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!