Show older comments
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的值
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!