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];
den1 = [1 1];
filter1 = tf(num1, den1)
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 Comments
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/492382-matlab-grader-error-when-running-code#comment_769818
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/492382-matlab-grader-error-when-running-code#comment_769818
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/492382-matlab-grader-error-when-running-code#comment_769823
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/492382-matlab-grader-error-when-running-code#comment_769823
Sign in to comment.