opolyfit OPOLYFIT(x,y,n) finds the n coefficients of a polynomial formed from the data in row vector x that fits the data in row vector y in a least-squares sense. Orthogonal polynomials are used to improve accuracy. See also polyfit. c = opolyfit(x,y,n) c --- coefficient vector, size n References: G. E. Forsythe, "Generation and use of orthogonal poly- nomials for data fitting on a digital computer", J. SIAM, 5(1957), 74-88. P. F. Hultquist, "Numerical Methods for Engineers and Computer Scientists", Benjamin-Cummings, 1988. Copyright 1992. Gordon J. Frazer, Signal Processing Research Laboratory, and Roy J. Hughes, Laboratory for Instrumental and Developmental Chemistry, QUT, Brisbane, AUSTRALIA, 1992. Email: g.frazer@qut.edu.au or r.hughes@qut.edu.au