Afficher commentaires plus anciens
A=[0.90 0.01;0.1 0.99]
x0=[1.5;13.5]
for i=1:5
x(:,i)=A^i*x0
end
plot(x(1,:)./x(2,:))
上述代码中 x(:,i)=A^i*x0 赋值的意义不明白,运行后都会给出80个x的值
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Logical 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!