Error trying to evaluate the following partial fraction as practice on matlab [5(s+2)] / [s(s^2+8s+15)]

조회 수: 6 (최근 30일)
numf=5*[1+2];
>> denf=s*[1+8+15];
>> [r,p,k]=residue(numf,denf)
Undefined function 'filter' for input arguments of type 'sym'.
Error in deconv (line 32) [q,zf] = filter(b, a, [1 zeros(1,nb-na)]);
Error in residue (line 88) if length(u) >= length(v), [k,u] = deconv(u,v); end

채택된 답변

Dishant Arora
Dishant Arora 2014년 2월 22일
편집: Dishant Arora 2014년 2월 22일
eliminate symbols
num = [1,2];
den = [1,8,15];
[r,p,k] = residue(num,den); % go through documentation of residue

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numbers and Precision에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by