Selecting a Polynomial to Fit Data

If you wish to construct a waveshaper based on incoming data, then you will create a table, and proceed using linear interpolation (as shown in previous slides).

The problem with this approach is that you can't ensure a bandlimited spectrum withouth aliasing.

It is also possible to fit a polynomial to the data (there are many ways of doing this, the details go beyond the scope of this class).

You may like to take advantable of Matlab's polyfit to accomplish this task.


``Music 270a: Waveshaping Synthesis'' by Tamara Smyth, Department of Music, University of California, San Diego (UCSD).
Download PDF version (waveshaping.pdf)
Download compressed PostScript version (waveshaping.ps.gz)
Download PDF `4 up' version (waveshaping_4up.pdf)
Download compressed PostScript `4 up' version (waveshaping_4up.ps.gz)

Copyright © 2019-03-03 by Tamara Smyth.
Please email errata, comments, and suggestions to Tamara Smyth<trsmyth@ucsd.edu>