기호 값을 사용하여 전달 함수를 사용하려고하지만 오류 만 반환합니다.기호식 전달 함수 matlab
MatLab에서 기호 모드로 변환 된 Laplace를 사용할 수 있습니까? 여기
내가 할 노력하고 있어요 예와 매트랩 메시지 오류 : 나는 어떤 결과를 전달 함수를 만드는 몇 가지 다른 형태의 시도
>> syms Ki Kp Te R;
>> s=tf('s');
>> g=((Kp*s+Ki)/s)
Error using sym>tomupad (line 1014)
Conversion to 'sym' from 'tf' is not possible.
Error in sym (line 139)
S.s = tomupad(x,'');
Error in sym/privResolveArgs (line 823)
argout{k} = sym(arg);
Error in sym/privBinaryOp (line 838)
args = privResolveArgs(A, B);
Error in * (line 216)
X = privBinaryOp(A, B, 'symobj::mtimes');
:
>> sys=tf([Te],[0 Ki])
Error using tf (line 287)
The values of the "num" and "den" properties must be row vectors or cell arrays of row vectors, where each vector
is nonempty and containing numeric data. Type "help tf.num" or "help tf.den" for more information.
나는 심볼 값으로 작업 할 수있는 유사한 함수를 찾고 있음을 깨달았다. 도와 주셔서 감사합니다. – fizcris
http://www.mathworks.com/matlabcentral/fileexchange/27302-syms-to-tf-conversion/을 확인하십시오. 이것은 Symbolic Math Toolbox (http://www.mathworks.co.uk/help/symbolic/numden.html)에서 numden을 사용합니다. – am304