Generating for loop for toeplitz for Q order analysis.
3 vues (au cours des 30 derniers jours)
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
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
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!