GeneralizedFibonacc​i.m

バージョン 1.0.0.0 (608 Bytes) 作成者: David Terr
GeneralizedFibonacci(n,a,b) returns the generalized Fibonacci number.
ダウンロード: 2.8K
更新 2004/10/22

ライセンスがありません

For fixed integers a and b with D = a^2 + 4*b positive, the sequence U_n = GeneralizedFibonacci(n,a,b) satisfies the recurrence U_n = a U_{n-1} + b U_{n-2} with initial conditions U_0 = 0 and U_1 = 1. If a=b=1, this is the Fibonacci sequence.

引用

David Terr (2024). GeneralizedFibonacci.m (https://www.mathworks.com/matlabcentral/fileexchange/6085-generalizedfibonacci-m), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R12
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersNumber Theory についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0