MATLAB: How to write transfer function without pole or zero value

everyone

>> abc=tf(1,[1 c]) Undefined function or variable 'c'.
this is i am getting when i write like that.

Best Answer

The only way for you to do that is to use it in an anonymous function:
abc = @(c) tf(1,[1 c]);
then define ā€˜cā€™ and call the function with the numeric argument.