help-octave
[Top][All Lists]
Advanced

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

Re: How to create a table in Octave


From: Stefan van der Walt
Subject: Re: How to create a table in Octave
Date: Mon, 12 Jul 2004 17:26:53 +0200
User-agent: Mutt/1.5.6+20040523i

Hi Hugo

I am not sure what you mean by a "table of correspondence", but you
can use the two vectors as the columns of a matrix, like in

octave:1> a = [1 2 3]';
octave:2> b = [4 5 6]';
octave:3> c = [a b]
c =

  1  4
  2  5
  3  6

Regards
Stefan

On Mon, Jul 12, 2004 at 06:36:55AM -0500, Hugo Neto wrote:
>    Dear All,
>    
>    Anyone knows how can i get to build a table in Octave?
>    
>    For instance... i have one variable called "time" with (1x1200) dimension
>    and other one called "temp1" with (1x1200) dimension. I would like to
>    build a table of correspondence between time and temp1.
>    
>    Anybody have suggestions to create this table? I didn't find any solution
>    to do this.
>    
>    Thanks in advance,
>    
>    Regards,
>    
>    Hugo Neto



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

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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