Undefined function 'step' for input arguments of type 'double'

Hi,here are the codes.
w=[0.5:0.1:1,2];tt=0.4
figure(1)
hold on
for wn=w
num=[2*tt*wn,wn.^2];
den=[1,2*tt*wn,wn.^2];
step(num,den)
end
hold off
When I try to run it,I get the error Undefined function 'step' for input arguments of type 'double'.How can I do? Thank you!
[EDITED, Jan, please format your code - Thanks]

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 31 日

0 投票

Are you sure you have a control toolbox? type
which step

2 件のコメント

Image Analyst
Image Analyst 2013 年 6 月 1 日
And type ver:
>> ver
Tell us what shows up in your command window. What do you think step is supposed to do? Something in the Control System Toolbox, or something else?
Walter Roberson
Walter Roberson 2013 年 6 月 1 日
step() is also used by the Computer Vision Toolbox, but I would say Control System is much more likely the intended application here.

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

カテゴリ

ヘルプ センター および File Exchange で Data Type Conversion についてさらに検索

質問済み:

Mo
2013 年 5 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by