THD+N calculation

23 次查看(过去 30 天)
William Jia
William Jia 2020-11-8
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.

回答(1 个)

Aghamarsh Varanasi
Aghamarsh Varanasi 2020-11-11
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.

类别

Help CenterFile Exchange 中查找有关 Simulation, Tuning, and Visualization 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by