[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Specifying output format with save()

From: Alberto Luaces
Subject: Re: Specifying output format with save()
Date: Mon, 29 Feb 2016 17:30:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Nicholas Jankowski writes:

> Seems like dlmwrite might be what you want. I believe you can specify
> precision, separators, etc.

Great.  That solved the problem for me:

dlmwrite ('file.txt', B, 'delimiter', '', 'precision', '%25.16E')

It is a bit larger than the call to size(), but lets me avoid coding
several loops and having to check array sizes, which is more

Thank you, Nicholas!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]