Repeated event in a array part 2

What I want to do, is find patterns and once I found a binary pattern, I want to plot in seperate plots of the pattern plus continuation of next 10 elements in different colour.
I hope this makes sense.

댓글 수: 4

per isakson
per isakson 2012년 5월 4일
Why didn't you provide a link to "part 1"?
Daniel Shub
Daniel Shub 2012년 5월 4일
You should add the example from your last question to this one.
http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
http://www.mathworks.com/matlabcentral/answers/728-how-do-i-write-a-good-question-for-matlab-answers
Also, since you have only just learned to find the patterns and plot the sections an hour ago, I doubt you have thought about this question much.
I believe there are a number of relatively straight forward solutions. What have you tried so far.
Mate 2u
Mate 2u 2012년 5월 4일
Per the link is: http://www.mathworks.co.uk/matlabcentral/answers/37395-repeated-event-in-a-array
Daniel,
Thank you for that, I tried to ammend your arrayfun, to use plot rather than stem and changing the (0:n) but if you could help it would be very helpful.
Thanks
Jan
Jan 2012년 5월 4일
@Per: I've inserted the link to the previous question.

답변 (0개)

이 질문은 마감되었습니다.

태그

질문:

2012년 5월 4일

마감:

2021년 8월 20일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by