Help with signal pulse generation in Simulink

조회 수: 1 (최근 30일)
Sameer
Sameer 2014년 8월 11일
댓글: Sameer 2014년 8월 14일
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.

답변 (1개)

A Jenkins
A Jenkins 2014년 8월 11일
You should be able to build something out of the following blocks:
  댓글 수: 1
Sameer
Sameer 2014년 8월 14일
Thanks for your suggestion. While I understand the usage of transport delay to induce a time difference, I don't understand how you can use Detect Change and Compare to Constant building blocks to detect peaks. Mind you the peak amplitudes are not constant.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Signal Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by