MATLAB grader error when running code
이전 댓글 표시
I'm using MATLAB grader for an assignment in my class, and this assignment has worked before, but now is not. The code that's being run is this:
num1 = [1]; %numerator of filter
den1 = [1 1]; %denominator of filter
filter1 = tf(num1, den1) %Filter transfer function object
And the error:
Undefined function 'tf' for input arguments of type 'double'.
Error in solution (line 3)
filter1 = tf(num1, den1) %Filter transfer function object
댓글 수: 2
KALYAN ACHARJYA
2019년 11월 21일
편집: KALYAN ACHARJYA
2019년 11월 21일
When I checked, no error
filter1 =
1
-----
s + 1
Continuous-time transfer function.
Diane Peters
2019년 11월 21일
채택된 답변
추가 답변 (0개)
커뮤니티
더 많은 답변 보기: 원격 교육 커뮤니티
카테고리
도움말 센터 및 File Exchange에서 Control System Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!