Generating a 2D plot for a function

4 ビュー (過去 30 日間)
Chigozirim Ike
Chigozirim Ike 2016 年 2 月 12 日
回答済み: Walter Roberson 2016 年 2 月 12 日
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 Center および File Exchange2-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