Generating a 2D plot for a function

4 次查看(过去 30 天)
how can i plot this function R(n+1) = -0.8 * R(n)?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by