How do you align column in a matrix?
Ältere Kommentare anzeigen
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 Kommentare
James Tursa
am 18 Jun. 2021
Will you always know how many decimal digits you want printed? Or will this depend on the values in Node?
Mo A
am 18 Jun. 2021
Stephen23
am 18 Jun. 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
am 18 Jun. 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Operators and Elementary Operations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!