help-octave
[Top][All Lists]
Advanced

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

Re: Saving as ascii files


From: c.
Subject: Re: Saving as ascii files
Date: Tue, 12 Mar 2013 12:20:00 +0100

On 12 Mar 2013, at 11:58, asha g <address@hidden> wrote:

> save -ascii cabunbact1aoctN11octascii x vv1 vv2
> 
> I don't get 3 columns. Where am I going wrong ?

"help save" says:

 `-ascii'
          Save a single matrix in a text file without header or any
          other information.

you need to arrange your data into a single matrix before saving:

data = [x(:), vv1(:), vv2(:)];
save -ascii cabunbact1aoctN11octascii data

c.


reply via email to

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