GeneralizedFibonacci.m
Version 1.0.0.0 (608 Bytes) von
David Terr
GeneralizedFibonacci(n,a,b) returns the generalized Fibonacci number.
2,8K Downloads
Aktualisiert
22. Okt 2004
Keine Lizenz
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.
Zitieren als
David Terr (2026). GeneralizedFibonacci.m (https://de.mathworks.com/matlabcentral/fileexchange/6085-generalizedfibonacci-m), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R12
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Number Theory finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
