How do you align column in a matrix?
显示 更早的评论
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 个评论
James Tursa
2021-6-18
Will you always know how many decimal digits you want printed? Or will this depend on the values in Node?
Mo A
2021-6-18
Stephen23
2021-6-18
"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
2021-6-18
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Operators and Elementary Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!