Ältere Kommentare anzeigen
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的值
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!