Too many Input Arguments error when using Transfer Functions and bodeplot()

15 ビュー (過去 30 日間)
Bradlee Harrison
Bradlee Harrison 2020 年 10 月 18 日
コメント済み: Walter Roberson 2020 年 10 月 19 日
This is my transfer function:
H1s =
1.25e04 s
----------------------
s^2 + 1.25e04 s + 1e10
Continuous-time transfer function.
(output from the MATLAB console)
When I try to do bodeplot(H1s) I get the error "Error using DynamicSystem/bodeplot (line 108) Too many input arguments."
Why is this? When I used bodeplot on a transfer function previously, it worked just fine.
  11 件のコメント
Bradlee Harrison
Bradlee Harrison 2020 年 10 月 19 日
With your advice I found out I had a file called "line.m" which superceded the function used by bode and several other functions. Thanks for the help.
Walter Roberson
Walter Roberson 2020 年 10 月 19 日
Ah! That would do it.
Which toolbox had its own line.m ? line() is used by plot() so I would have expected a lot of plotting trouble.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Control System Toolbox についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by