MATLAB grader error when running code
Mostrar comentarios más antiguos
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 comentarios
KALYAN ACHARJYA
el 21 de Nov. de 2019
Editada: KALYAN ACHARJYA
el 21 de Nov. de 2019
When I checked, no error
filter1 =
1
-----
s + 1
Continuous-time transfer function.
Diane Peters
el 21 de Nov. de 2019
Respuesta aceptada
Más respuestas (0)
Comunidades de usuarios
Más respuestas en Distance Learning Community
Categorías
Más información sobre Control System Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!