Sampling a sine wave according to a variable magnitude pulse pattern
1 回表示 (過去 30 日間)
古いコメントを表示
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?
回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!