How to generate unmodulated train of pulses of certain pulse width, and certain pulse repetition frequency, with certain sampling frequency?
3 ビュー (過去 30 日間)
古いコメントを表示
I have tried that code..
t = 0:1/sampleFreq:10;
d = [0:2:60];
x = @rectpuls;
y = pulstran(t,d,x);
plot(t,y)
But I could not understand what specifies what?
can I also specifiy the amptitude of pulse to be other than 1?
0 件のコメント
回答 (1 件)
Vimal Rathod
2021 年 6 月 7 日
Hello,
Have a look at the documentation link of pluse train, it provides various examples of how to tweak each variable to get different types of pulses with different parameters.
Below is the link
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Waveform Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!