GeneralizedFibonacci.m
Versión 1.0.0.0 (608 Bytes) por
David Terr
GeneralizedFibonacci(n,a,b) returns the generalized Fibonacci number.
2,8K descargas
Actualizado
22 oct 2004
Sin licencia
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.
Citar como
David Terr (2024). GeneralizedFibonacci.m (https://www.mathworks.com/matlabcentral/fileexchange/6085-generalizedfibonacci-m), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R12
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Number Theory en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |