How can I plot a step response to an

2 ビュー (過去 30 日間)
Majd Al mohtar
Majd Al mohtar 2017 年 11 月 18 日
編集済み: Salahuddin Bangash 2017 年 11 月 18 日
I want to plot the response of a dc motor to a 15V input, jow can I plot it? Step(sys) shows an input of 1V how can I edit it to show a plot for 15?

回答 (2 件)

Star Strider
Star Strider 2017 年 11 月 18 日
You can increase the amplitude of the step by using stepDataOptions:
opt = stepDataOptions;
opt.StepAmplitude = 15;
y = step(sys, t, opt);

Salahuddin Bangash
Salahuddin Bangash 2017 年 11 月 18 日
編集済み: Salahuddin Bangash 2017 年 11 月 18 日
syms s
num=[15]
g=tf(num,1)
step(g)
grid on %is that wat u want?
%or
step(15,1)

Community Treasure Hunt

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

Start Hunting!

Translated by