Path: news.mathworks.com!not-for-mail
From: "Dar'ya " <dkc8r4REMOVE_THIS@missouri.edu>
Newsgroups: comp.soft-sys.matlab
Subject: partial fraction expansion
Date: Thu, 2 Jul 2009 00:14:02 +0000 (UTC)
Organization: Missouri University, Columbia
Lines: 25
Message-ID: <h2gu4a$ao6$1@fred.mathworks.com>
Reply-To: "Dar'ya " <dkc8r4REMOVE_THIS@missouri.edu>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1246493642 11014 172.30.248.37 (2 Jul 2009 00:14:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 2 Jul 2009 00:14:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1000681
Xref: news.mathworks.com comp.soft-sys.matlab:552244


Hello,

I am trying to do partial fraction expansion.

Here is what I input:

syms z Om f h b c d g

num=[z*Om, z*Om*f, z*Om*h];

den=[1, b+f, h+b*f+c+Om^2, b*h+c*f+Om^2*f+Om^2*b, c*h-d*g+Om^2*h+Om^2*b*f+Om^2*c, Om^2*b*h+Om^2*c*f, Om^2*c*h-Om^2*d*g];

[r,p,k]=residue(num,den)


Here I get the error:

??? Error using ==> zeros
Trailing string input must be avalid numeric class name.

Does anyone have a suggestion?

Thanks,

Dasha