No BSD License  

Highlights from
Alternative Mathematics using MATLAB 7

image thumbnail

Alternative Mathematics using MATLAB 7

by

 

13 Mar 2003 (Updated )

Self-instructive text on undergraduate algebra, statistics, differential and integral calculus.

ex182b.m
% ex182b.m:  Minimize Sum of Squares by FMINBND
clear all,  format short
T=[200 250 300 350 400];
I=[0.1176    0.0926    0.0735    0.0711    0.0594]*1e-7;
options=optimset( 'TolX', 1e-10);			% Tolerance for p
pm=fminbnd( @ssq1, 0, 1, options, T, I)	% p at minimum
ssqmin=ssq1( pm, T, I)					% Minimum for ssq1
n=length(T)						% Number of elements
sdev=sqrt( ssqmin/(n-1))				% Standard deviation

Contact us