How to plot recursive definition in Matlab/Simulink?
Ältere Kommentare anzeigen
where n is 1 to 10
A(n)=1.03*A(n-1)-700;
B(n)=(B(n-1)+50)*1.03;
(n-1) being the previous term of n
is it possible to plot those recursive definitions as two lines on the same graph in Matlab?
if so how?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Loops and Conditional Statements 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!
