472Homework4 - Math 472 Homework4 Computer problems 2.1.1...

This preview shows page 1 - 2 out of 2 pages.

Math 472 Homework4 Computer problems 2.1.1 Put together the code fragments in this section to create a Matlab program for naive Gaussian elimination (meaning no row exchange allowed). Use it to solve the systems of Exercise2. Create a script as followed: function x=naive(a,b); n=length(b); for j=1:n-1 for i=j+1:n mult=a(i,j)/a(j,j); for k=j+1:n a(i,k)=a(i,k)-mult*a(j,k);

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture