How to calculate Harmonic distortion
6 views (last 30 days)
Show older comments
Good afternoon everyone.
I have measurements made of acceleration and other variables on three axes coming from a sensor (accelerometer and gyroscope).
I do data acquisition through LabView and I will do the data processing with MatLab.
I'm saving the files in .txt, and now I want to open that file and process the data.
I want to do the harmonic distortion, and find the specific harmonic. I've seen some codes about harmonic distortion but they all use functions to build the wave, but I have data from my measurements. I don't know if I managed to explain myself correctly.
Thank you.
3 Comments
Mathieu NOE
on 8 Dec 2020
hello
yes , simly use the THD demo code above within my code - or separately, as you prefer
Answers (0)
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!