Generating a 2D plot for a function

18 Ansichten (letzte 30 Tage)
Chigozirim Ike
Chigozirim Ike am 12 Feb. 2016
Beantwortet: Walter Roberson am 12 Feb. 2016
how can i plot this function R(n+1) = -0.8 * R(n)?

Antworten (1)

Walter Roberson
Walter Roberson am 12 Feb. 2016
for n = 1 : 100
R(n+1) = -0.8 * R(n);
end
Now you have a vector of R that you can plot.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by