Code covered by the BSD License  

Highlights from
Numerical Methods Using MATLAB, 2e

a5algos.m
%---------------------------------------------------------------------------
%A5ALGOS
%
% NUMERICAL METHODS: MATLAB Programs, (c) John H. Mathews 1995
% To accompany the text:
% NUMERICAL METHODS for Mathematics, Science and Engineering, 2nd Ed, 1992
% Prentice Hall, Englewood Cliffs, New Jersey, 07632, U.S.A.
% Prentice Hall, Inc.; USA, Canada, Mexico ISBN 0-13-624990-6
% Prentice Hall, International Editions:   ISBN 0-13-625047-5
% This free software is compliments of the author.
% E-mail address:       in%"mathews@fullerton.edu"

CONTENTS

Chapter 5.  Curve Fitting

  Algorithm 5.1   Least Squares Line
  Algorithm 5.2   Least Squares Polynomial
  Algorithm 5.3   Non-linear Curve Fitting
  Algorithm 5.4   Cubic Splines
  Algorithm 5.5   Trigonometric Polynomials

Contact us at files@mathworks.com