Generating a 2D plot for a function

5 vues (au cours des 30 derniers jours)
Chigozirim Ike
Chigozirim Ike le 12 Fév 2016
how can i plot this function R(n+1) = -0.8 * R(n)?

Réponses (1)

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

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by