Transfer function 'tf'
이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
이전 댓글 표시
0 개 추천
Hi, in Matlab R2015b, I used the commando ' tf ' for the transfer function. When I run the script where I used it, I get an error message ' undefined function or variable 'tf' '. How do we get or create this function 'tf' ? I thought it was an inherent function of matlab. Thank you.
채택된 답변
Walter Roberson
2016년 2월 16일
4 개 추천
http://www.mathworks.com/help/control/ref/tf.html Control System Toolbox
http://www.mathworks.com/help/signal/ref/tf.html Signal Processing Toolbox
http://www.mathworks.com/help/mpc/ref/tf.html Model Predictive Control Toolbox
You need one of those three.
댓글 수: 8
Aurore Lecharlier
2016년 2월 16일
Dear, Thank you. I however still don't manage to use the tf function. Here is my script (see annexe)
Aurore Lecharlier
2016년 2월 16일
Do I need to downlaod an extra toolbox (like e.g. Simulink) ? I apologize for my unknowledge, I use Matlab for academic purposes.
Walter Roberson
2016년 2월 16일
The syntax you are using indicates that you expect to be using the Control System Toolbox. You need to have that optional toolbox installed and licensed. If the command
which tf
shows you a tf function but indicates "no license available" then you have the software installed but no license for it. If the command
ver
shows you the Control System toolbox but "which" said it did not exist, then you have a license for it but do not have it installed. If it did not show up for "which" or "ver" then you do not have it installed and you do not have it licensed.
If you are using an Academic license then it is possible that your institution has already arranged licenses for you; you would need to check with your IT people about that. If you are already licensed then you should go back to the MATLAB installer and request to install the toolbox (it is not installed by default.)
Evan Zhang
2020년 6월 3일
Hi, I'm having a similar issue in Matlab 2020a, where
which tf
returns 'tf' not found
but
ver
shows that both dsp toolbox and signal processing toolbox are installed. I have even found a tf.m file in the toolbox files, but it appears to be only comment where the code should be.
Petar Vukovic
2021년 4월 30일
Same problem with my MATLAB 2020a
Akella Kartik
2021년 9월 22일
I have the isseu in 2021a as well. I installed both Signal Processing Toolbox and the DSP System Toolbox, but still I get this:
Unrecognized function or variable 'tf'. for tf and
'tf' not found. for which tf
Jerry Maravilla
2021년 9월 27일
Try the control system tool box. If that doesn't work you can just use matlab's online editor. Doesn't fix the issue but you'll be able to run your code.
Anish Mitra
2026년 11월 13일 16:48
Note that the tf command in the Signal Processing Toolbox is for converting a digital filter to a transfer function. Similarily the Model Predictive Control Toolbox command is for converting an MPC controller to a transfer function.
If you want to create a transfer function model by specifying the numerator and denominator (see code below), then you need a Control System Toolbox license.
sys = tf([1 2],[1 4 3])
sys =
s + 2
-------------
s^2 + 4 s + 3
Continuous-time transfer function.
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
태그
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
