Creating a rectangular pulse given the samples number and sampling frequency

I need some help to create a Rectangular Pulse Given the samples number = 18
Sampling Frequency = 60MHz and the peek power is 1.5Mwatts.

回答 (1 件)

Adam Danz
Adam Danz 2021 年 6 月 10 日
編集済み: Adam Danz 2021 年 6 月 14 日

0 投票

If you have the Signal Processing Toolbox, use square()
Otherwise create a sine wave (sin()) that fits your description and then round it to make it square.
If you have any problems, show us the code and we can help to square it up.

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

製品

質問済み:

2021 年 6 月 10 日

編集済み:

2021 年 6 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by