Professional Documents
Culture Documents
Fibonassi in Matlab Script: CLC Close All Clear All
Fibonassi in Matlab Script: CLC Close All Clear All
clc;
close all;
clear all;
first = 0; second = 1;
for i = 0 : 7
if(i <= 1)
next = i;
else
first = second;
second = next;
end
disp(next);
end