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 = -6p = 2k = -0.2500 -2.0000b=[-4 8]; a=[1 6 8];[r,p,k]=residue(b,a)r = -12 8p = -4 -2k = []syms sf=(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.6667ip = -1.0000 + 1.0000i -1.0000 – 1.0000ik = 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.6667ip = -1.0000 + 1.0000i -1.0000 – 1.0000ik = 0.3333 1.6667b=[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.0000ip = -3.0000 + 1.0000i -3.0000 – 1.0000i -1.0000 + 0.0000ik = []a=[1]; b=[1 1];[r,p,k]=residue(a,b)r = 1p = -1k = []syms sf=s*(s+1)*(s+5)f =s*(s + 1)*(s + 5)collect(f)ans =s^3 + 6*s^2 + 5*sa=[5]; b=[1 6 5 0];[r,p,k]=residue(a,b)r = 0.2500 -1.2500 1.0000p = -5 -1 0k = []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.1667ip = -1.0000 + 3.0000i -1.0000 – 3.0000ik = []a=[1]; b=[1 0 16];[r,p,k]=residue(a,b)r = 0.0000 – 0.1250i 0.0000 + 0.1250ip = 0.0000 + 4.0000i 0.0000 – 4.0000ik = []syms sf=(s+1)*(s^2+16)f =(s^2 + 16)*(s + 1)collect(f)ans =s^3 + s^2 + 16*s + 16a=[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.0000ip = 0.0000 + 4.0000i 0.0000 – 4.0000i -1.0000 + 0.0000ik = []a=[1 1]; b=[1 0 0];[r,p,k]=residue(a,b)r = 1 1p = 0 0k = []a=[1]; b=[1 0 0 0 0 0 0];[r,p,k]=residue(a,b)r = 0 0 0 0 0 1p = 0 0 0 0 0 0k = []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.2500ip = 1.0000 + 1.0000i 1.0000 – 1.0000i -1.0000 + 1.0000i -1.0000 – 1.0000ik = []