Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: fibonacci numbers
Date: Tue, 18 Nov 2008 18:32:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 2
Message-ID: <gfv1n2$r4j$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1227033122 27795 172.30.248.35 (18 Nov 2008 18:32:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 18 Nov 2008 18:32:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1606224
Xref: news.mathworks.com comp.soft-sys.matlab:501526


i have to write a function that generates the fibonacci sequence with out using loops. the length is specified by the user.if a single number is specified the sequence should be generated for numbers -Fn...Fn and if twoarguments ar given the sequence should run from Fm...Fn. and the zeroth term assume 0 is F0. Can anyone help me??