필터 지우기
필터 지우기

Problem reading my results

조회 수: 1 (최근 30일)
Panty
Panty 2014년 9월 11일
댓글: Star Strider 2014년 9월 11일
Dear friends
I got the below results but I dont know how to read the (E-..) parts
7.41E-08 4.20E-06 2.34E-05 2.36E-06 9.54E-06 2.62E-05 8.15E-05 0.000118559
1.53E-06 3.95E-06 2.21E-05 2.71E-06 1.01E-05 2.84E-05 8.69E-05 0.000125772
1.47E-06 4.01E-06 2.24E-05 2.73E-06 1.02E-05 2.86E-05 8.77E-05 0.000127014
1.44E-06 4.06E-06 2.27E-05 2.76E-06 1.03E-05 2.89E-05 8.86E-05 0.000128348
How can I read these numbers without the E-.. parts??
Many thanks
  댓글 수: 2
Oleg Komarov
Oleg Komarov 2014년 9월 11일
Do you have that data in a text file? What`ve you tried so far?
Panty
Panty 2014년 9월 11일
I was computing the sum of columns of some double arrays and then divide these sums with a number...And Matlab gave these results..

댓글을 달려면 로그인하십시오.

채택된 답변

Star Strider
Star Strider 2014년 9월 11일
What you got is likely the output of an fprintf call, because MATLAB defaults to a lower-case ‘e’ for exponential notation. You would have to go into the code that you used, and change the format descriptors in that call.
If you are wondering what the E- parts mean, 7.41E-8 translates to 7.41 x 10^-8, or 0.0000000741.
  댓글 수: 2
Panty
Panty 2014년 9월 11일
Thats fine guys...thank you very much..!!!
Star Strider
Star Strider 2014년 9월 11일
My pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Andy L
Andy L 2014년 9월 11일
Try
format long
in your code. MATLAB should recognise that these are just the short form of these numbers.
  댓글 수: 1
Panty
Panty 2014년 9월 11일
how do you use this command?

댓글을 달려면 로그인하십시오.

카테고리

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