Possible Duplicate:
Is it possible to show numbers in non-engineering format in Matlab?
am reading a set of unix timestamps from a file using dlmread
say
1311120481
1311120542
1311120603
in an array .
After reading all values are coverted to exponential . 1.311e+9 etc … But i need the actual timestamps to use it create a range around it.
Can anyone help how to get the values as it is ?
Thanks,
This is an effect of how Matlab displays numbers rather than how it stores them. It has not actually converted the values to a new format; it just chooses to display them this way. You can change how Matlab displays values using the
formatcommand:Sometimes it is also useful to simply subtract some large, known offset:
You can also use
fprintf: