create a random signal

3 views (last 30 days)
Azy Craze
Azy Craze on 5 Dec 2012
Iwould like to create a signal as shown in the fig.
kindly help me with code.

Answers (2)

Sachin Ganjare
Sachin Ganjare on 5 Dec 2012
Refer below link:
Hope it helps!!
  1 Comment
Azy Craze
Azy Craze on 5 Dec 2012
can you just give me the specific code to obtain the above plot. All I need is a random signal with small variations and a few(3 or 4) spikes with a variation of above 150.

Sign in to comment.

Jan on 5 Dec 2012
No, I can't. The shown signal has very specific properties, e.g. the frequency spectrum, the strong correlation over a period of about 0.5 seconds, etc. Without knowing any details, it is impossible to guess, which properties are required, and which are noise. Therefore I cannot post such a signal.
Jan on 9 Dec 2012
@Azy: Perhaps I was not clear enough: Currently your explanations are not detailed enough to create a noisy signal. There are too many different possibilities and we cannot guess, what you need. It is like if you go to a car seller and ask for "a car". Of course he has cars, but he will hesitate to offer any specific one.
"A few spikes with a variation of above 150" does not allow to create a signal. The best method to obtain EEG signals is using EEG signals. So better ask any lab if you could get some test data.

Sign in to comment.


Find more on EEG/MEG/ECoG in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!