very small value and zero

조회 수: 30 (최근 30일)
Ioannis Vourvachakis
Ioannis Vourvachakis 2021년 10월 7일
댓글: Ioannis Vourvachakis 2021년 10월 7일
Very small values in a array (approximately <10^(-6), appeared as zero.
I want to see their real values as small as they might be.
Thank you.

답변 (1개)

Walter Roberson
Walter Roberson 2021년 10월 7일
First, set
Preferences -> MATLAB -> Command Window -> Numeric Format -> select "long g"
Preferences -> MATLAB -> Variables -> default array format -> select "long g"
These will change your preferences so that in future values are shown in extended format both at the command window and in the Variable Browser

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by