# higher order intermodulation distortion

11 Ansichten (letzte 30 Tage)
Stephan Moeller am 1 Mai 2024
Beantwortet: jibrahim am 7 Mai 2024
how can I calculate IMD ( intermodulation distortion ) for audio ? I know the matlab function toi.m , but this gives me only third order . For audio I need the sum of all intermodulation products levels. I would need a IMD function , to write a script to get IMD vs frequency with a sweep or stepped sine .
##### 0 Kommentare-2 ältere Kommentare anzeigen-2 ältere Kommentare ausblenden

Melden Sie sich an, um zu kommentieren.

### Akzeptierte Antwort

UDAYA PEDDIRAJU am 6 Mai 2024
Bearbeitet: UDAYA PEDDIRAJU am 7 Mai 2024
Hi Stephan,
To calculate IMD for audio, you would typically need to perform a spectral analysis of the audio signal and measure the levels of the intermodulation products. One approach could be to use the Fast Fourier Transform (FFT) to obtain the frequency spectrum of the audio signal. Then, you can identify the intermodulation products by looking for peaks in the spectrum at frequencies that are the sum and difference of the original audio frequencies at different orders.
You could follow the below steps:
2. Apply a windowing function to the audio signal to reduce spectral leakage.
3. Compute the FFT of the windowed audio signal using the "fft" function.
4. Convert the FFT result to a power spectrum by taking the magnitude squared of the FFT result.
5. Identify the peaks in the power spectrum that correspond to the intermodulation products and measure the levels of the intermodulation products.
##### 0 Kommentare-2 ältere Kommentare anzeigen-2 ältere Kommentare ausblenden

Melden Sie sich an, um zu kommentieren.

### Weitere Antworten (1)

jibrahim am 7 Mai 2024
##### 0 Kommentare-2 ältere Kommentare anzeigen-2 ältere Kommentare ausblenden

Melden Sie sich an, um zu kommentieren.

### Kategorien

Mehr zu Spectral Analysis finden Sie in Help Center und File Exchange

R2024a

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by