Skip to content

erkang/snake_matlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

snake_matlab

matlab codes download from line, this is a very good material

Build matrix A using circshift for i=1:m A(i,:) = brow; brow = circshift(brow',1)'; % Template row being rotated to egenrate different rows in pentadiagonal matrix end

Also, the inverse of A is computed by LU decomposition

[L U] = lu(A + gamma .* eye(m,m)); Ainv = inv(U) * inv(L); % Computing Ainv using LU factorization

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages