I would like to have the frequency power spectrum of a square wave.
The duration of one wave (T/2) is 0.1 ms. Only the positive part is used. However the amount of squares also varies from 1 to 30 Hz.
So I would like to compare the spectral densities of 30 Hz and 1 Hz squarewaves, in which each square has a duration of 0.1 ms.
Could anyone tell me how to do this.
The duration of one wave (T/2) is 0.1 ms. Only the positive part is used. However the amount of squares also varies from 1 to 30 Hz.
So I would like to compare the spectral densities of 30 Hz and 1 Hz squarewaves, in which each square has a duration of 0.1 ms.
Could anyone tell me how to do this.