Generating for loop for toeplitz for Q order analysis.
Afficher commentaires plus anciens
b = toeplitz(x,[x(1) zeros(1,Q)])\y;
I have a toeplitz matrix that I want to write a loop for Q=(1:150).
any ideas?
1 commentaire
Andrei Bobrov
le 20 Fév 2013
Modifié(e) : Andrei Bobrov
le 20 Fév 2013
That such x, y.
Réponses (1)
Andrei Bobrov
le 20 Fév 2013
Modifié(e) : Andrei Bobrov
le 20 Fév 2013
b{150} = toeplitz(x,[x(1) zeros(1,150)])\y; % THAT SUCH x, y
for jj = 1:150
b{jj} = b{end}(:,1:jj);
end
1 commentaire
moejobe
le 20 Fév 2013
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!