This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: nrows=3; ncols=3; A=zeros(nrows,ncols); for row=1:nrows for col=1:ncols A(row,col)=10*row+col; end end A for scalar values in algebra or Matlab: c=a/b or When a and b are matrices, /b is not defined but c = a * inv(b) where inv=inverse For scalar values in algebra a x = b inv(a) a x = inv(a) b but inv(a) a = 1 so x = inv(a) b For matrices A X = B X = inv(A) B In Matlab, X = inv(A)*B or X = A\B...
View Full Document
This note was uploaded on 04/07/2011 for the course BME BME taught by Professor Dr.thomas during the Spring '11 term at Saint Louis.
- Spring '11