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 Ansicht (letzte 30 Tage)

Antworten (1)

nick
nick am 9 Sep. 2024
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.

Kategorien

Mehr zu Mathematics and Optimization finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by