Matlab integer accuracy VS MS EXCEL

조회 수: 1 (최근 30일)
ARS
ARS 2012년 6월 2일
Hi All,
I am exporting my time series data from EXCEL to MATLAB as time series objects (fints).
Now after exporting, the excel figures -0.353344471286182 becomes -0.3746 in MATLAB fints table.
If it is rounding then isn't it too much? Can this issue be avoided?
this is just one figure, same is happening to all numerical figures.
Any help will be highly appreciated.
Regards,
AMD.
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 6월 3일
I do not understand why your title refers to "integer accuracy" instead of to floating point accuracy?

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

답변 (1개)

the cyclist
the cyclist 2012년 6월 2일
I don't have the fints() function, because I don't have the Financial Toolbox. However, by default, core MATLAB displays 4 digits, even though it keeps about 15 digits (double precision) for calculation. See
>> doc format
for some details on that. I don't know to what extent that carries over to the fints() function.

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by