"Jeff " <spREMOVEHITSjeffAT@SIGNoptonline.net> wrote in message news:email@example.com... > I'm trying to import some data, which was created by C code, into Matlab > without losing much precision. Can someone show me an example of how to do > so? > > I have about 52 decimal places of precision, with N=16 numbers on a line, > like this:
Double precision only allows you 52 bits of precision (well, plus the implicitly stored bit) not 52 digits.
> I've tried using dlmread, csvread and importdata, but they cut off > precision.
You could read these in as _strings_ and convert them into symbolic objects using Symbolic Math Toolbox.
> I've tried other things, too, but I cannot get any more precision. You can > see that their all losing precision after about 16 decimal places.