No BSD License  

Highlights from
GeneralizedFibonacci.m

5.0

5.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 1.47 KB File ID: #6085

GeneralizedFibonacci.m

by David Terr

 

20 Oct 2004 (Updated 22 Oct 2004)

GeneralizedFibonacci(n,a,b) returns the generalized Fibonacci number.

| Watch this File

File Information
Description

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.

Required Products Communications Blockset
MATLAB release MATLAB 6.0 (R12)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
23 Jan 2005 Srikanth Akkiraju  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
symbolic math David Terr 22 Oct 2008 07:33:27
fibonacci number David Terr 22 Oct 2008 07:33:27
generalized fibonacci number David Terr 22 Oct 2008 07:33:27
mathematics David Terr 22 Oct 2008 07:33:27

Contact us at files@mathworks.com