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

 채택된 답변

Star Strider
Star Strider 2017년 12월 9일
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.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by