A Ghost Data In Matlab???
7 views (last 30 days)
I just found a very very awkward data in matlab, especially when i pointing a variable data (from table data) which is shown as a normal double data when i debug it. BUT when i evaluate the variable data, it become significanly different. Here is the issue :
I cant understand why the 2015 Double data become 0.2015 when i evaluate it. Its works as normal with a same other data.
Its sooo Impossible... I just re try it and its still not works... How i can fix it? Would anyone lend me a hand to explain and solve this Ghost Data? Thanks
Rik on 10 Feb 2022
The way data is displayed and the way data is stored are separated in Matlab. If you take a look at this:
You will see that there is an exponent at the top, and everything is scaled to that factor. The data is still the same, just the way it is printed in the command window is different.
Note that if you want people to be able to reproduce your situation, you should make sure you can use the run code feature. If the online environment can run it, we can at least see what is happening.