필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Matrix Error when typed in

조회 수: 2 (최근 30일)
Muhammad Norman Hakeem bin Ramlee
마감: MATLAB Answer Bot 2021년 8월 20일
Hi my script is this
n=[1.5,3.4;91250,73000]
but it comes out as
n =
1.0e+04 *
0.0001 0.0003
9.1250 7.3000
the 1.0e+04 * automatically comes out of nowhere and disturbs my data all the time. Anyone knows why?

답변 (1개)

James Tursa
James Tursa 2020년 5월 10일
편집: James Tursa 2020년 5월 10일
This is just a display issue. All values are what you entered (or, at least the closest IEEE double representation). That 1.0e+04 is just a factor that is applied to all of the displayed values. To see a different display of these same numbers you could choose one of the other formats. E.g., type this at the command line:
format longg

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by