Help with signal pulse generation in Simulink
1 次查看(过去 30 天)
显示 更早的评论
Hi, I have a filtered ECG signal which is exhibiting filtered/enhanced R wave peaks. The sampling frequency is 100 Hz, i.e. a sample every 0.01 second. Now all I want with my model is to generate a pulse (amplitude could be unit) every time a peak is peak is detected. Further I want to generate separate signal pulses after a time delay, say 50 mSec, from the first one.
Please see the attached images from the scope. First one shows filtered, but non threshold-ed output, hence some noise at low amplitude level. Second one shows threshold-ed output to eliminate that noise. Third is a snapshot of my model.
A side note, this signal generation has to be real time, i.e. as the peak is getting detected. Any help will be greatly appreciated.
Thank you.
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!