Quantcast
Channel: PTC Community: Message List
Viewing all articles
Browse latest Browse all 12262

Re: Get a best fit line from a function for system programing

$
0
0

The function "regress" will do a least square polynomial fit.  If you use only three points, a second order ploynomial will fit those three points but may not approximate the curve correctly.  Build vectors of many points, use regress, and plot the errors to choose the correct order of the polynomial.


Viewing all articles
Browse latest Browse all 12262

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>