Generating a 2D plot for a function

4 visualizaciones (últimos 30 días)
Chigozirim Ike
Chigozirim Ike el 12 de Feb. de 2016
Respondida: Walter Roberson el 12 de Feb. de 2016
how can i plot this function R(n+1) = -0.8 * R(n)?

Respuestas (1)

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

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by