example:
there are 6 iterations. after 1st iteration i am getting these values
[1 2 3 4 5 6]
and after 2nd iteration im gettin
[4 3 2 1 9 8]
This goes on for 6 iterations..
at last i need to have the values from all these 6 iterations in a 6x6 matrix..
how do i do it?
Please help me out
Subject: Help required regarding updating a matrix
"Matt Fig" <spamanon@yahoo.com> wrote in message <gs4uc6$87c$1@fred.mathworks.com>...
> For example:
>
>
>
> A = zeros(6);
>
> for ii = 1:6
> A(ii,:) = randperm(6); % Here put whatever process updates the matrix.
> end
thanks man
Tags for this Thread
Add a New Tag:
Separated by commas
Ex.: root locus, bode
What are tags?
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.