Need help.... How to plot sequences
4 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I have a report due in two days and have no idea how to plot this sequence. I know almost nothing about Matlab and my tutors as usual have been no help at all.
If some one can help me out here I would greatly appriciate it.
The sequence is:
𝑥(𝑛) = {… , 5, 4, 3, 2, 1, 5, 4, 3, 2, 1, 5, 4, 3, 2, 1, … }
Cheers
2 件のコメント
Mario van Rooij
2020 年 11 月 27 日
Where does the n come into play? What do you want to plot when n = 10 for example?
採用された回答
Star Strider
2020 年 11 月 27 日
6 件のコメント
Star Strider
2020 年 11 月 27 日
Please experiment!
Use my example as a guide, and carefully read the documentation for colon. Note how to use it to code a descending sequence.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!