How do you align column in a matrix?
Afficher commentaires plus anciens
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 commentaires
James Tursa
le 18 Juin 2021
Will you always know how many decimal digits you want printed? Or will this depend on the values in Node?
Mo A
le 18 Juin 2021
Stephen23
le 18 Juin 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
le 18 Juin 2021
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Operators and Elementary Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!