From: Chris on
Hello Again,
So I'm using the following command:

dlmwrite(FullPath,finalData,'delimiter','\t');

and my data comes out tab delimited, however, some of the data is negative, and some isn't, the extra character '-' throws the tabs off, and the data doesn't have the appearance of being lined up in the file (even though it still is lined up). Is there a way that I can use two tabs between each piece of data instead of one?

I've tried:
dlmwrite(FullPath,finalData,'delimiter','\t','delimiter','\t');

and that doesn't work. It doesn't throw any errors, but it doesn't appear to change anything.

Thanks in advance,
From: us on
"Chris " <cburgner508(a)gmail.com> wrote in message <i2nfcu$5rs$1(a)fred.mathworks.com>...
> Hello Again,
> So I'm using the following command:
>
> dlmwrite(FullPath,finalData,'delimiter','\t');
>
> and my data comes out tab delimited, however, some of the data is negative, and some isn't, the extra character '-' throws the tabs off, and the data doesn't have the appearance of being lined up in the file (even though it still is lined up). Is there a way that I can use two tabs between each piece of data instead of one?
>
> I've tried:
> dlmwrite(FullPath,finalData,'delimiter','\t','delimiter','\t');
>
> and that doesn't work. It doesn't throw any errors, but it doesn't appear to change anything.
>
> Thanks in advance,

a hint:
- look at/play with the PRECISION attribute in

help dlmwrite;

us
From: Chris on
US,
Thanks a bunch, that solved my issue.

Best,

- Chris