这里面有很多有用的东东

源代码在线查看: add.m

软件大小: 51 K
上传用户: guozhongjiesg02
关键词:
下载地址: 免注册下载 普通下载 VIP

相关代码

				function A=add(A)
				%ADD	
				%Add multiple of one row of a matrix to another row.
				%Used in row reduction.
				%Calling format: A=add(A)
				 
				%Copyright Gareth Williams, Stetson University 
				%gwilliam@stetson.edu, http://www.stetson.edu/~gwilliam
				%Accompanies "Linear Algebra with Applications" by Gareth Williams
				
				disp(' ')
				a=input('add the multiple: ');
				m=input('          of row: ');
				n=input('          to row: ');
				A(n,:) = A(n,:) + a*A(m,:);
				disp(' ')
				
				
							

相关资源