Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

partial fraction expansion lab report

Lab Data 

Trial License -- for use to evaluate programs for possible purchase as an end-user only.

b=[-4 8]; a=[1 6 8];

[r,p,k]=residue(a,b)

r =

    -6

p =

     2

k =

   -0.2500   -2.0000

b=[-4 8]; a=[1 6 8];

[r,p,k]=residue(b,a)

r =

   -12

     8

p =

    -4

    -2

k =

     []

syms s

f=(s+1)(s^2+6s+10)

 f=(s+1)(s^2+6s+10)

        ?

Error: Unbalanced or unexpected parenthesis or bracket.

Did you mean:

f = (s + 1)*(s^2 + 6*s + 10)

f =

(s + 1)*(s^2 + 6*s + 10)

collect f 

Undefined function 'collect' for input arguments of type 'char'.

collect(f)

ans =

s^3 + 7*s^2 + 16*s + 10

 b=[3 6 6]; a=[1 7 16 10];

[r,p,k]=residue(a,b)

r =

   0.6667 + 0.6667i

   0.6667 - 0.6667i

p =

  -1.0000 + 1.0000i

  -1.0000 - 1.0000i

k =

    0.3333    1.6667

 b=[]; a=[];

[r,p,k]=residue(a,b)

Index exceeds matrix dimensions.

Error in residue (line 86)

u = u ./ v(1); v = v ./ v(1);   % Normalize.

 b=[3 6 6]; a=[1 7 16 10];

[r,p,k]=residue(a,b)

r =

   0.6667 + 0.6667i

   0.6667 - 0.6667i

p =

  -1.0000 + 1.0000i

  -1.0000 - 1.0000i

k =

    0.3333    1.6667

b=[3 6 6]; a=[1 7 16 10];

[r,p,k]=residue(b,a)

r =

   1.2000 + 3.6000i

   1.2000 - 3.6000i

   0.6000 + 0.0000i

p =

  -3.0000 + 1.0000i

  -3.0000 - 1.0000i

  -1.0000 + 0.0000i

k =

     []

a=[1]; b=[1 1];

[r,p,k]=residue(a,b)

r =

     1

p =

    -1

k =

     []

syms s

f=s*(s+1)*(s+5)

f =

s*(s + 1)*(s + 5)

collect(f)

ans =

s^3 + 6*s^2 + 5*s

a=[5]; b=[1 6 5 0];

[r,p,k]=residue(a,b)

r =

    0.2500

   -1.2500

    1.0000

p =

    -5

    -1

     0

k =

     []

c,,,

a=[3 2]; b=[1 2 10];

[r,p,k]=residue(a,b)

Undefined function or variable 'c'.

a=[3 2]; b=[1 2 10];

[r,p,k]=residue(a,b)

r =

   1.5000 + 0.1667i

   1.5000 - 0.1667i

p =

  -1.0000 + 3.0000i

  -1.0000 - 3.0000i

k =

     []

a=[1]; b=[1 0 16];

[r,p,k]=residue(a,b)

r =

   0.0000 - 0.1250i

   0.0000 + 0.1250i

p =

   0.0000 + 4.0000i

   0.0000 - 4.0000i

k =

     []

syms s

f=(s+1)*(s^2+16)

f =

(s^2 + 16)*(s + 1)

collect(f)

ans =

s^3 + s^2 + 16*s + 16

a=[2 6]; b=[1 1 16 16];

[r,p,k]=residue(a,b)

r =

  -0.1176 - 0.2794i

  -0.1176 + 0.2794i

   0.2353 + 0.0000i

p =

   0.0000 + 4.0000i

   0.0000 - 4.0000i

  -1.0000 + 0.0000i

k =

     []

a=[1 1]; b=[1 0 0];

[r,p,k]=residue(a,b)

r =

     1

     1

p =

     0

     0

k =

     []

a=[1]; b=[1 0 0 0 0 0 0];

[r,p,k]=residue(a,b)

r =

     0

     0

     0

     0

     0

     1

p =

     0

     0

     0

     0

     0

     0

k =

     []

a=[4]; b=[1 0 0 0 4];

[r,p,k]=residue(a,b)

r =

  -0.2500 - 0.2500i

  -0.2500 + 0.2500i

   0.2500 - 0.2500i

   0.2500 + 0.2500i

p =

   1.0000 + 1.0000i

   1.0000 - 1.0000i

  -1.0000 + 1.0000i

  -1.0000 - 1.0000i

k =

     []

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question