I want process this and for that it needs to be in a matrix with the format and precision preserved. I tried the Import Data GUI utility, which appears to gives me result to 4 decimal places (but when I copy the cell the entire value is present).
I tried xlsread('file.xls'). Below is what I get:
1.0e+003 *
0 0.3635 0.4852
0.3635 0 0.2022
0.4852 0.2022 0
0.8913 0.5355 0.5397
1.0262 0.6738 0.6779
I a previous post on xlswrite, http://www.mathworks.com/matlabcentral/newsreader/view_thread/267281 a similar problem which wrongly placed decimal point is mentioned. But I don't know how to solve this. I also tried to convert to csv format first, but the same problem persists. How do I use num2str to solve this? Or can it be used?
> I tried xlsread('file.xls'). Below is what I get:
> 1.0e+003 *
>
> 0 0.3635 0.4852
> 0.3635 0 0.2022
> 0.4852 0.2022 0
> 0.8913 0.5355 0.5397
> 1.0262 0.6738 0.6779
I assume, this is not "what you get", but "what you see". Please try to set the format of the output in the Matlab window to full prcision:
format long g
Then display the array again.
Kind regards, Jan