Sampling a sine wave according to a variable magnitude pulse pattern

조회 수: 1 (최근 30일)
vahid
vahid 2015년 8월 18일
편집: vahid 2015년 8월 20일
Hello. I have encountered to a problem while sampling the sin(20*pi*t) (T=0.1s) exactly according to a periodic variable magnitude pulse pattern like this: (pulse magnitudes should be sampling times of sine wave)
The above pic is a periodic funtion and can be represented as the following function:
if 0<t<=0.005 f(t)=0.005
if 0.005<t<=0.03 f(t)=0.025
if 0.03<t<=0.045 f(t)=0.015
if 0.045<t<=0.055 f(t)=0.01
if 0.055<t<=0.070 f(t)=0.015
if 0.070<t<=0.095 f(t)=0.025
if 0.095<t<=0.1 f(t)=0.005
does any one have an idea or a sample mdl file to sample the sine wave with variable step time that is equal ti pulse pattern signal?
  댓글 수: 1
vahid
vahid 2015년 8월 19일
편집: vahid 2015년 8월 20일
Please help me, I really need help about this.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Pulse and Transition Metrics에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by