function mat = matn(n,l,va,vb,e)

t = full(gallery('tridiag',l,-1,0,-1));
v = fiboe(n,va,vb,e);

for k = 1:l
    t(k,k) = 2+v(k);
end

mat = t;

end

