Skip to main content

New answers tagged

0 votes

MATLAB Fourier: Why do I see less harmonics the more I increase the sampling frequency?

@Janka was right. If I change my code to be able to change the duty cycle and span my frequency plot to see more frequencies: ...
Christianidis Vasilis's user avatar
2 votes
Accepted

MATLAB Fourier: Why do I see less harmonics the more I increase the sampling frequency?

Perfect square waves do not have even harmonics. So those even harmonics you see are an artifact from the sampling to begin with.
Janka's user avatar
  • 14.4k

Top 50 recent answers are included