MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Gaussian Elimination by Partial Pivoting 

Subject: Gaussian Elimination by Partial Pivoting From: Ashley Daly Date: 11 Feb, 2009 16:05:19 Message: 1 of 5 
Question: 
Subject: Gaussian Elimination by Partial Pivoting From: Ashley Daly Date: 11 Feb, 2009 16:41:01 Message: 2 of 5 
"Ashley Daly" <kl0vis3000@hotmail.com> wrote in message <gmusvv$b2u$1@fred.mathworks.com>... 
Subject: Gaussian Elimination by Partial Pivoting From: Steven Lord Date: 11 Feb, 2009 18:54:21 Message: 3 of 5 

Subject: Gaussian Elimination by Partial Pivoting From: Ashley Daly Date: 11 Feb, 2009 21:00:19 Message: 4 of 5 
Steven, thank you very much for your reponse. Unfortunately, I won't have access to MATLAB again til Friday. Before I read your message, I actually did create a matrix by hand to recreate A for a certain order n, so I think I know what it should look like. Where I'm running into trouble is creating a matrix with 1's in the last column (or maybe even if the last column with a 0 in the a_nn spot since that spot is already taken care of by the diagonal matrix?). I created something like G = eye(n,n) to get a matrix with 1's on the diagonal, and a C = tril(ones,(n,n),1) to get a matrix with 1's where I think they should go, but I'm still unsure how to create an nxn matrix with 1's in the nth column. 
Subject: Gaussian Elimination by Partial Pivoting From: Selliah (Ram) Ramachchandran Date: 20 Feb, 2009 10:10:20 Message: 5 of 5 
"Ashley Daly" <kl0vis3000@hotmail.com> wrote in message <gmve93 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.