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 visualizzazione (ultimi 30 giorni)

Risposte (1)

nick
nick il 9 Set 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.

Categorie

Scopri di più su Mathematics and Optimization in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by