% % Written by: % -- % John L. Weatherwax 2005-06-10 % % email: wax@alum.mit.edu % % Please send comments and especially bug reports to the % above email address. % %----- y1 = [ 1 1 1 1 ]; y2 = [ -3 -1 1 3 ]; pt1 = ( y1.' ) * y1 pt2 = ( y2.' ) * y2 pt1/4 + pt2/20