help-octave
[Top][All Lists]
Advanced

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

Re: writing matrices into matrices


From: David Bateman
Subject: Re: writing matrices into matrices
Date: Wed, 2 Jun 2004 22:28:46 +0200
User-agent: Mutt/1.4.1i

What you are talking about is a structure or cell array. I believe

a{1} = rand(8);
a{2} = rand(8);

might be what you are after

D.

According to mimo <address@hidden> (on 06/02/04):
> Hi,
> 
> I'm searching for a way to write matrices into matrices or vectors:
> a(1) = rand(8);
> a(2) = rand(8);
> 
> and so on and so on
> 
> or even better given a vector v = [1,2,3]
> building variables such as 'a1' by concatenating a with the 
> first/second/third 
> value of vector 'v' such as
> 
> a1 = rand(8) % where a1 results from some concatenation
> 
> 
> Thanks a lot
> 
> Thomas
> 
> 
> 
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------

-- 
David Bateman                                address@hidden
Motorola CRM                                 +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 1 69 35 77 01 (Fax) 
91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



-------------------------------------------------------------
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]