Introduction - If you have any usage issues, please Google them yourself
The power spectrum of the unipolar rectangular waveform digital baseband signal is calculated by MATLAB. The program is perfect, and the result is very close to the theoretical value.