I have an error when using linmod. the error is "error using tf line.." a picture is attached

2 ビュー (過去 30 日間)
tzela yaish
tzela yaish 2021 年 2 月 26 日
回答済み: Walter Roberson 2021 年 2 月 26 日
I am getting this error when trying to find a transfer function ... am I missing a toolbox? or whats going on ?
Thanx !

回答 (1 件)

Walter Roberson
Walter Roberson 2021 年 2 月 26 日
ss2tf returns b (first output) as a 2d array if there are multiple outputs for the system, but tf() requires that input to be a vector or cell array of vector. I suggest
num2cell(n, 2)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by