Date: Feb 5, 2013 4:46 AM
Author: Barry Shaw
Subject: Re: storing row vectors in a matrix
Post your code.
Are you forgetting to put in the 'i' (my code below) when assigning it to your matrix?
"Prateek " <firstname.lastname@example.org> wrote in message <email@example.com>...
> "Barry Shaw" <Barry@h.com> wrote in message <firstname.lastname@example.org>...
> > >> for i = 1 : 26
> > image_vector = rand(100,100);
> > transformed_image_vector = reshape(image_vector,1,10000); % your user-defined function.
> > all_vectors(i,:) = transformed_image_vector;
> > end
> > Barry
> >hey Barry i have been doing the same but the result is not as expected what it does is store the 26th image in all the rows