Community Profile

photo

Kevin Junior Mekulu


Virginia Polytechnic Institute & State University

Active since 2015

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


Can anyone tell me what's wrong with my code? I am trying to implement the Jacobi method
function X=jacobi(A,b,x0,tol, niter) % Input - A is an N x N nonsingular matrix % - B is an N x 1 mat...

8 years ago | 1 answer | 0

1

answer

Question


How can I represent the matrices A and B in Matlab in this problem?
The diagonal of A is a(i,i) = 2, the subdiagonals a(i+1,i) = a(i,i+1) = -1/2 all other entries of A are zero. B = [1,2,......2...

8 years ago | 1 answer | 0

1

answer