THD+N calculation
18 views (last 30 days)
Show older comments
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.
Answers (1)
Aghamarsh Varanasi
on 11 Nov 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')
0 Comments
See Also
Categories
Find more on Simulation, Tuning, and Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!