thd_n
Builtin index · Signal processing
result = thd_n(x, ...)
Input: x, ... · Output: result
What it is
x: a length-N real vector, same optional keywords as thd above.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
result = thd_n(x, ...) | x vectorx: a length-N real vector, same optional keywords as thd above.... repeatablenot documented yet | result number | Returns a single number, dB below the fundamental: harmonics *and* noise together against the signal (-sinad_db, the same noise_power sinad already totals over every non-excitation bin) rather than harmonics alone. Same sign convention as thd — more negative is better. |
Examples
No documentation example calls this form yet. The Signal processing chapter is where one belongs.