Skip to content

Commit

Permalink
Lecture 10
Browse files Browse the repository at this point in the history
Added instructions for merging, and commits to GaussNaive
  • Loading branch information
rmh13011 committed Feb 21, 2017
1 parent a44c58a commit 8fbcec3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file added Pull.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion lecture_10/GaussNaive.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
% forward elimination
for k = 1:n-1
for i = k+1:n
factor = Aug(i,k)/Aug(k,k);
factor = Aug(i,k)/Aug(k,k);
%this is naive because if a coefficient in the matrix is zero
%then divide by zero errot.
Aug(i,k:nb) = Aug(i,k:nb)-factor*Aug(k,k:nb);
end
end
Expand Down

0 comments on commit 8fbcec3

Please sign in to comment.