[Top][All Lists]

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

Re: How to suppress unneeded output while using "save"

From: Paul Kienzle
Subject: Re: How to suppress unneeded output while using "save"
Date: Tue, 6 Dec 2005 21:50:27 -0500

On Dec 6, 2005, at 9:51 AM, John W. Eaton wrote:

Or even

  fprintf (fid, strcat (repmat (" %f", 1, columns (a)), "\n"), a');

though you may want to get a little fancier with the format string so
that there is not a space at the beginning or end of each line.

See for example the following two lines from dlmwrite:

template = [ precision, repmat([delim,precision],1,columns(A)-1), newline ];

- Paul

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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