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.

 채택된 답변

Image Analyst
Image Analyst 2016년 5월 30일

2 개 추천

It's possible you don't have the Signal Processing Toolbox, which has the tf() function in it. Type ver on the command line to see if you have that toolbox.

댓글 수: 4

FRANCESCO BAROZZI
FRANCESCO BAROZZI 2017년 6월 20일
편집: FRANCESCO BAROZZI 2017년 6월 20일
i have the Signal Processing Toolbox in my matlab.
command s=tf('s') stop to work after a windows update! After this S.O. update i opened matlab and prompted me to insert my license , like the first time i run the program. i think is a conflict betwen matlab and window 10 !!!
how i can fix?
Image Analyst
Image Analyst 2017년 6월 21일
You can call the Mathworks for fast and free telephone help - that's the fastest way believe it or not. Did I mention that it was free, so you have no excuse not to call them?
John BG
John BG 2017년 6월 21일
who is the question originator, Mr Sergio Muñoz or Mr Francesco Barozzi?
Jan
Jan 2017년 6월 22일
@John BG: As you can see, Sergio asked the question in 2016, and Francesco posted a concerning question in the comment section now.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

John BG
John BG 2016년 5월 30일

0 개 추천

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에 대해 자세히 알아보기

태그

질문:

2016년 5월 30일

댓글:

Jan
2017년 6월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by