Control package: Difference between revisions

15 bytes added ,  28 August 2023
→‎PT1 / Low-pass filter step response: script that looks more like the actual displayed plot with two grey dashed lines.
(→‎Linear System Representation: marked pid and pidstd as implemented)
(→‎PT1 / Low-pass filter step response: script that looks more like the actual displayed plot with two grey dashed lines.)
 
Line 471: Line 471:
  #add some common markers like the tangent line at the origin, which crosses lim(n->inf) f(t) at t=T1
  #add some common markers like the tangent line at the origin, which crosses lim(n->inf) f(t) at t=T1
  hold on
  hold on
  plot ([0 T1], [0 1], "g")
  plot ([0 T1], [0 1], "--", 'color', [.75 .75 .75])
  plot ([T1 T1], [0 1], "k")
  plot ([T1 T1], [0 1], "--", 'color', [.75 .75 .75])
plot ([0 T1], [1-1/e 1-1/e], "m")
  hold off
  hold off
</syntaxhighlight>}}
</syntaxhighlight>}}