[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Naming variables using existing variables....
From: |
Peter |
Subject: |
Re: Naming variables using existing variables.... |
Date: |
Mon, 28 Feb 2011 17:28:05 +0100 |
> Thanks for replying so quick. The only problem with this is that I want my
> input to be matrices of different size depending on the local variable. So
> something like this:
>
Why not use cell arrays?
A=cell(n,1);
for ii=1:n
A{ii}=rand(ii,ii);
end;
Cheers,
Peter.
Re: Solved: Naming variables using existing variables...., bleagos, 2011/02/28