No BSD License  

Highlights from
Lucas.m

5.0

5.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 656 Bytes File ID: #5094

Lucas.m

by David Terr

 

03 Jun 2004 (Updated 27 Dec 2004)

Given a nonnegative integer n, return the nth Lucas number.

| Watch this File

File Information
Description

Given a nonnegative integer n, return the nth Lucas number. Return an error message if the argument is not an integer.

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)
09 Oct 2005 ali alibahri  
Please login to add a comment or rating.
Updates
27 Dec 2004

I fixed a warning bug by eliminating the final end statement.

Tag Activity for this File
Tag Applied By Date/Time
symbolic math David Terr 22 Oct 2008 07:21:55
lucas number David Terr 22 Oct 2008 07:21:55
fibonacci number David Terr 22 Oct 2008 07:21:56
mathematics David Terr 22 Oct 2008 07:21:56

Contact us at files@mathworks.com