From: Jacob on 16 Nov 2009 06:50 "Jacob " <jacob(a)collstrup.dk> wrote in message <hdrdbb$5qg$1(a)fred.mathworks.com>... > > Try this? > > > > for k = 1:size(indices,1) % in your example 3 > > > > temp = from; > > temp(indices(k,:),:) = []; > > A = temp; > > > > end Wait, it does work. I just screwed up with the variable names. That bit of code works like a charm!! Thanks for the help! Best regards Jacob
|
Pages: 1 Prev: Solving equation in Matalb Next: What is under powersysdomain? |