Path: news.mathworks.com!not-for-mail
From: "Chen " <abathesith@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Is it possible to differentiate this equation 34 times?
Date: Thu, 26 Mar 2009 10:33:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <gqflkt$sqk$1@fred.mathworks.com>
Reply-To: "Chen " <abathesith@yahoo.com>
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 1238063581 29524 172.30.248.35 (26 Mar 2009 10:33:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 26 Mar 2009 10:33:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1766174
Xref: news.mathworks.com comp.soft-sys.matlab:527876

hi, i need to find a way to differentiate this equation 34 times at least. Before that I was using the diff() command on the 2007 version. However, after the 4th differentiation, I maxed out the number of characters that can be displayed on the screen.
P(z)=([-3.996.*(z-1).*(z+0.9985).*(z-(-0.0008 - 0.9992i)).*(z-(-0.0008 + 0.9992i))]./[1.9985.*(1.0008 + 0.9992i).*(1.0008 - 0.9992i).*(1-z.^4.*exp(0.00307*(1-z)))])

I dont need to get the differentiated form of the equation, just the probability values of each differentiated equation when z =0. Like
P(0)=
d/(dz)P(0)=
d/(dz^2)P(0)=
d/(dz^3)P(0)=
.
.
.
d/(dz^34)P(0)

Is there a way to do so? I looked through the tutorials but I don see how I can use the ode functions or polydar functions to solve it. Any help is greatly appreciated.