Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Plotting the step function of a summation
Date: Mon, 12 Apr 2010 18:58:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 8
Message-ID: <hpvqfs$sf0$1@fred.mathworks.com>
References: <hpkuva$ecl$1@fred.mathworks.com> <hpl4e5$jej$1@fred.mathworks.com> <hpvmns$89k$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1271098684 29152 172.30.248.38 (12 Apr 2010 18:58:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 12 Apr 2010 18:58:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:625919

"Kevin " <kuberakt@notes.udayton.edu> wrote in message <hpvmns$89k$1@fred.mathworks.com>...
> That ended up working.  I ended up plotting it by using the stairs function and scaling the x-axis.  Thanks for the help.
----------
  Did you recognize that as the sum of a geometric progression?  This identity is frequently encountered in algebra problems:

 1 + b + b^2 + b^3 + ... + b^(N-1) = (1 - b^N)/(1-b)

Roger Stafford