fibobinet

버전 1.0.0 (1.88 KB) 작성자: Marco Cococcioni
Vectorized function for obtaining the terms of the Fibonacci sequence using (an approximated version) of Binet's formula
다운로드 수: 3
업데이트 날짜: 2023/11/1

라이선스 보기

This is a vectorized implementation of the Binet's formula,
where one of the terms has been discarder (the one related
to the negative power of the golden ratio).
Being the formula vectorized, it is much faster than Matlab
builtin fibonacci function. Remember, however, that it
is not 100% accurate when n gets larger.
Indeed, the double precision computations introduces errors (in particular,
the Matlab power function).
This version is more than 500x faster than Matlab builtin function 'fibonacci',
on my machine, using Matlab R2023a for Windows.

인용 양식

Marco Cococcioni (2024). fibobinet (https://www.mathworks.com/matlabcentral/fileexchange/154436-fibobinet), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2023b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0