After hours upon hours of trying to work this out and a couple of questions here I am having no luck.
I need to plot a seqeunce over a given interval, I have gotten to the point where the sequence is there however I can't find a way around 'vectors must be the same length'
Here is my code...
n = -20:12
x = repmat([5,4,3,2,1],3 15)
I would expect a saw tooth wave looking graph but I get the above mentioned error.
What am I doing wrong? I don't have enough time to play about with the code to try to figure this out as I need to submit a report tomorrow by 11pmand after trying to figure this out for two or three days I am out of ideas.
Any help will be greatly appriciated.