Code covered by the BSD License  

Highlights from
Numerical Methods Using MATLAB, 4e

image thumbnail
from Numerical Methods Using MATLAB, 4e by John Mathews
Companion software to accompany the book "Numerical Methods Using MATLAB"

y=fib(n)
function y=fib(n)
%Generates fibonacci numbers for the program fibonacci
fz(1)=1;fz(2)=1;
for k=3:n
    fz(k)=fz(k-1)+fz(k-2);
end
y=fz(n);

Contact us at files@mathworks.com