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.

ex083.m
% ex083.m: A System of Five Unknowns
format short,  clear,  A=rand(5,5)  	% Random, square matrix
B=rand(5,1)				% Random column vector
X=A\B					% Solve for X
format long,  left=A*X,  right=B	% Compare left and right members
format short,  error=left-right		% Show the difference
meanB=sum( abs(B))/5		% Mean value of B for comparison

Contact us