필터 지우기
필터 지우기

what is meant by 3e4 in matlab?

조회 수: 93 (최근 30일)
ALI IQBAL
ALI IQBAL 2013년 9월 19일
I am reading a program
M = 16; k = log2(M); n = 3e4; nsamp = 1;
kindly tell me the meaning of "3e4"
as soon as possible....

채택된 답변

David Sanchez
David Sanchez 2013년 9월 19일
3e4 = 3*10^4 = 30000

추가 답변 (2개)

Simon
Simon 2013년 9월 19일
Hi!
Did you try to input "3e4" in the command window? What happens?
Also try
3e1
3e2
3e3

Jan
Jan 2013년 9월 19일
david's and Simon's answers are sufficient already.
While the definition is obviously clear and a common standard in nearly all programming languages, do you find it in Matlab's documentation?
What about 1E2, 1E-2 .1E-02, 1.e+2, 1.1e0, 2e2345678, 2d3, 3D4? The technical support stated, that only the formats supported by format are supported with a guarantee. But sscanf and the parser of M-code works for much more styles. It would be useful to document this fundamental detail.

카테고리

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