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
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.

카테고리

Help CenterFile Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by