%fibonacci
%1 1 3 5 5 8 13.. hasta el lugar 20
e=[1,1];
for i=3:20;
e=[e,(e(i-2)+e(i-1))];
end
e;
Cite As
luis (2026). serie de fibonacci (https://www.mathworks.com/matlabcentral/fileexchange/41121-serie-de-fibonacci), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
