矩阵赋值问题。
显示 更早的评论
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的值
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!