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일
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 Exchange에서 MATLAB에 대해 자세히 알아보기

제품

질문:

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