Undefined function 'tf' for input arguments of type 'double'.

조회 수: 10 (최근 30일)
Henry Brown
Henry Brown 2018년 11월 16일
답변: Mark Sherstan 2018년 11월 16일
I am plotting a pretty simple transfer function to make bode plots magnitude and phase.
code looks something like this
>> num = [1000 10000];
>> den = [1 1100 100000];
>> G = tf(num, den)
>>bode(G), grid
Now, this works and I get the right graphs when I use the online version.
HOWEVER
When I use my PC version I get "Undefined function 'tf' for input arguments of type 'double'."
I'm not sure how to fix this.

답변 (1개)

Mark Sherstan
Mark Sherstan 2018년 11월 16일
You need the Control Systems Toolbox installed.

카테고리

Help CenterFile Exchange에서 Frequency-Domain Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by