Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Negative indices in arrays
Date: Sat, 13 Jun 2009 23:57:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 1
Message-ID: <h11ecd$mps$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 1244937421 23356 172.30.248.35 (13 Jun 2009 23:57:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 13 Jun 2009 23:57:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1875839
Xref: news.mathworks.com comp.soft-sys.matlab:547252


Since matlab will not allow negative numbers or 0 of indices in arrays, how can I manipulate it to produce numbers for those negative indexes?  I'm needing to calculate and plot on a stem plot an array going from -10 to 10 for a specified equation.