THD+N calculation

18 visualizaciones (últimos 30 días)
William Jia
William Jia el 8 de Nov. de 2020
Respondida: Aghamarsh Varanasi el 11 de Nov. de 2020
I'd like to know how to calculate THD+N from a wav or csv file and I could not find one so far. Please help.

Respuestas (1)

Aghamarsh Varanasi
Aghamarsh Varanasi el 11 de Nov. de 2020
Hi Willaim Jia,
The calculation of Total Harmonic Distortion and noise (THD + N) of a signal is explained in this example. This requires the “Audio Toolbox” to be installed in MATLAB.
You can quickly open this example from MATLAB using the following command.
>> openExample('audio/THDNMeasurementWithTonetrackingExample')
For giving input from a wav file, you can use a From Multimedia block.

Categorías

Más información sobre Simulation, Tuning, and Visualization en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by