Eksempler
One cycle of a sine wave
Du skriver inn
- Målinger
- 0 1 0 -1
- Periode
- 1
- Harmoniske
- 1
Du får
- DC-verdi
- 0
- Frekvens
- 1
- Harmonisk 1
- Cosinuskoeffisient: 0; Sinuskoeffisient: 1; Amplitude: 1
- RMS-feil
- 0
The four samples sit on a sine wave of height 1, so all of the signal lands in the sine coefficient of harmonic 1 and the rebuilt curve matches the samples exactly.
Kjørt med verktøyets egen kode.
A square wave from eight samples
Du skriver inn
- Målinger
- 1 1 1 1 -1 -1 -1 -1
- Periode
- 1
- Harmoniske
- 3
Du får
- DC-verdi
- 0
- Harmonisk 1
- Cosinuskoeffisient: 0.5; Sinuskoeffisient: 1.2071068; Amplitude: 1.306563
- Harmonisk 2
- Cosinuskoeffisient: 0; Sinuskoeffisient: 0; Amplitude: 0
- Harmonisk 3
- Cosinuskoeffisient: 0.5; Sinuskoeffisient: 0.2071068; Amplitude: 0.5411961
- RMS-feil
- 0
- Kurvetopp
- about 1.3115
Only odd harmonics carry energy here. The rebuilt curve passes through all eight samples, yet between them it rises to about 1.3115, higher than any sample. This is the kind of overshoot that appears near a jump.
Kjørt med verktøyets egen kode.
A short shape with a different period
Du skriver inn
- Målinger
- 2 4 6 4
- Periode
- 0.5
- Harmoniske
- 1
Du får
- DC-verdi
- 4
- Frekvens
- 2
- Harmonisk 1
- Cosinuskoeffisient: -2; Sinuskoeffisient: 0; Amplitude: 2
- RMS-feil
- 0
The average of 2, 4, 6 and 4 is 4. A period of 0.5 gives a fundamental frequency of 1 divided by 0.5, which is 2 per time unit. The cosine term is minus 2 because the samples are lowest at the start.
Kjørt med verktøyets egen kode.
A constant signal
Du skriver inn
- Målinger
- 3 3 3 3
- Periode
- 2
- Harmoniske
- 1
Du får
- DC-verdi
- 3
- Frekvens
- 0.5
- Harmonisk 1
- Cosinuskoeffisient: 0; Sinuskoeffisient: 0; Amplitude: 0
With no change from sample to sample, the average is the whole signal and every harmonic is zero, apart from rounding noise that the tool sets to zero.
Kjørt med verktøyets egen kode.