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 Center および File ExchangePulse and Transition Metrics についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by