Need help.... How to plot sequences
์กฐํ ์: 2 (์ต๊ทผ 30์ผ)
์ด์ ๋๊ธ ํ์
Connor Wright
2020๋
11์ 27์ผ
๋๊ธ: Star Strider
2020๋
11์ 27์ผ
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!