Mostrar comentarios más antiguos
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的值
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!