Why does Matlab omit some entries? In this case, it omits the 0s, but it replaced other numbers with the asterisk before. Doesn't only happen with the adjoint function.
1 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
nick
2024-9-9
Hi Alexander,
I understand that you want to remove the asterisk that is displayed after any operation is performed on the given matrix A.
The output display format of the numeric variables is set to 'RATIONAL'. In this format, the values are approximated by the ratio of small integers within a tolerance of 1e-6*norm. Numbers with a large numerator or denominator are replaced by matrix. You can change the format from 'RATIONAL' to 'LONG' to view the number in decimal format by the help of following command :
format long
You can refer to the following documentation to learn more about different output display formats:
Hope this helps.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Mathematics and Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!