From owner-bug-octave at bevo dot che dot wisc dot edu Fri Dec 22 06:48:03 1995 Subject: possible bug in residue From: hlai at irus dot rri dot uwo dot ca To: bug-octave at che dot utexas dot edu Date: Fri, 22 Dec 95 07:47:59 EST Hello, this is Hao Lai. I am using octave 1.1.1 for linux. Octave produces the following result when I try to do a partial fraction expansion. octave:2> b = [1, 1, 1]; octave:3> a = [1, -5, 8, -4]; octave:4> octave:4> [r, p, k, e] = residue (b, a) r = -0.10000 + 0.45000i -0.10000 - 0.45000i p = 0.80000 + 0.40000i 0.80000 - 0.40000i k = [](0x0) e = 1 1 The example is taken from the help and the answer is incorrect. Help . Hao