How can I fix this error defining 's'.
이전 댓글 표시
Everytime I type s=tf('s') appears the following error: Undefined function 'tf' for input arguments of type 'char'. How I can fix this error?
Thanks, Sergio.
채택된 답변
추가 답변 (1개)
John BG
2016년 5월 30일
If you key in the polynomials directly
tf([1 -2 1],[3 -.4] )
ans =
s^2 - 2 s + 1
-------------
3 s - 0.4
tf works fine.
Perhaps you mean
tf([1 0],1)
ans =
s
If you find this answer of any help solving your question,
please click on the thumbs-up vote link,
thanks in advance
John
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!