Not able to run a code given in documentation of tf function
이전 댓글 표시
I am trying to use the 'tf' function to get a transfer function however something seems to be wrong as I am just not able to use the function without an error about index popping up. I even tried this code given in the examples in documentation of the 'tf' function:
numerator = 1;
denominator = [2,3,4];
sys = tf(numerator,denominator)
And I get the error: Index in position 2 exceeds array bounds (must not exceed 1).
Can someone please help me? This is frustrating.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!