Identifying common periodic waveforms (square, sine, sawtooth, …)

前端 未结 7 2232
盖世英雄少女心
盖世英雄少女心 2021-02-09 10:31

Without any user interaction, how would a program identify what type of waveform is present in a recording from an ADC?

For the sake of this question: triangle, square

7条回答
  •  悲&欢浪女
    2021-02-09 11:19

    Do an FFT, find the odd and even harmonic peaks, and compare the rate at which they decrease to a library of common waveform.. peak... ratios.

提交回复
热议问题