Group Abstract Group Abstract

Message Boards Message Boards

Cannot plot full OutputResponse

Posted 15 hours ago

Hi Everyone,
I've found that some transfer functions cannot be fully plotted for their step responses. I've tried this both on my local notebook and on Wolfram Cloud, and the results are the same.

Plot[Evaluate[
  Tooltip[OutputResponse[
    TransferFunctionModel[((s + 5)/(s + 
           1) 2/((s + 1) (s + 3)))/(1 + (s + 5)/(s + 
            1) 2/((s + 1) (s + 3))), s], UnitStep[t], t], t]], {t, 0, 
  10}, AxesLabel -> {"t", "x(t)"}, AspectRatio -> Automatic]

enter image description here enter image description here

POSTED BY: Sai Fisher

Try:

Plot[Evaluate[
  OutputResponse[
   TransferFunctionModel[((s + 5)/(s + 
          1) 2/((s + 1) (s + 3)))/(1 + (s + 5)/(s + 
           1) 2/((s + 1) (s + 3))), s], UnitStep[t], t]], {t, 0, 10}, 
 AxesLabel -> {"t", "x(t)"}, WorkingPrecision -> 20, PlotRange -> All]
POSTED BY: Mariusz Iwaniuk
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard