Precision loss during readtable() in excel which is having mixed datatypes

Signal Desciription DataType Dimension Value
AV_Trabs Sigal for trasmssion single [1] 0.620000005
When i Read this data in excel via readtable the data 'Value' gets truncated to '0.62'
Please help me with this issue.

回答 (1 件)

Rahul
Rahul 2025 年 2 月 17 日

0 投票

I understand that there is a precision loss while displaying data read from ecxel using 'readtable'. Some possible workarounds in this situation couble be:
  • Using 'long' format
  • Using 'vpa' function
The following MATLAB Answers can be referred:
The following MathWorks documentations can be referred to know more:
Thanks.

製品

リリース

R2018b

タグ

質問済み:

2020 年 4 月 8 日

回答済み:

2025 年 2 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by