Description: clear num = [0,0,10] den = [1,2,10] p = roots (den) [u, w] = solve ( ' w ^ 2 = 10' , ' 2* w* u = 2 ' ,' u, w ' ) [y, x, t] = step (num, den) plot (t, y) [yss, n] = max (y) finalvalue = dcgain (num , den) percentovershoot = 100* (yss-finalvalue)/finalvalue timetopeak = t (n) k = length (t) while (y (k)> 0.98* finalvalue) & (y (k) < 1.02* finalvalue) k = k-1 end settlingtime = t (k) p w = vpa (w, 4) u = vpa (u, 4) yss timetopeak finalvalue settlingtime
To Search:
File list (Check if you may need any files):
matlab\21.jpg
......\22.jpg
......\223.jpg
......\224.jpg
......\225.jpg
......\2_a.jpg
......\2_b.jpg
......\2_c.jpg
......\31.jpg
......\32.jpg
......\Exp1.m
......\Exp2_1.m
......\Exp2_2.m
......\Exp3.m
......\Photo-0003.jpg
......\Photo-0004.jpg
......\Photo-0005.jpg
......\Photo-0006.jpg
......\shiyan1.m
......\shiyan2_a.m
......\shiyan2_b.m
......\shiyan2_c.m
......\shiyan3.m
......\untitled.jpg
......\实验1.jpg
......\新建 文本文档.txt
matlab