The following Matlab project contains the source code and Matlab examples used for computes the total harmonic distortion (thd) of a signal.
function [ THD, ph, amp ] = compute_THD( t,x, freq )
Written by Dr.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

## Project Files:

File Name | Size |
---|---|

compute_THD.m | 2620 |

compute_THD_example.m | 947 |

license.txt | 1312 |