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
2013년 5월 31일
Are you sure you have a control toolbox? type
which step
댓글 수: 2
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
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에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!