MATLAB: Need help…. How to plot sequences

MATLAB and Simulink Student Suitesequence

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

Best Answer

The mod function and the colon,: operator are your friends!