|
From: | dastew |
Subject: | RE: Response to a pluse generator type input... |
Date: | Thu, 11 Feb 2010 12:21:39 +0000 |
> Date: Wed, 10 Feb 2010 19:01:22 -0800 > From: address@hidden > Subject: Response to a pluse generator type input... > To: address@hidden > > By any chance is there a function to use to produce a response to a pulse generator type input? > > I have a transfer function and I've successfully used the step(...) to look at the response of the transfer function to the step input, but I would like to have a pulse generator type input and look at the response of the transfer function to that. > > Thanks for any information and feedback. > > From: "address@hidden" <address@hidden> To: address@hidden; address@hidden Sent: Wed, February 10, 2010 9:10:54 PM Subject: RE: Response to a pluse generator type input...
Is Impulse what you want or do you want a pulse? You can use impulse(sys) like you can step(sys) Doug > From: address@hidden Subject: Re: Response to a pluse generator type input... To: address@hidden; address@hidden I really would like to see the response due to a pulse generator type input: http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/pulsegenerator.html I would then like to be able to vary the period and amplitude. Thanks a ton for any and all feedback. MY reply Try the lsim function
— Function File: [y, x] = lsim (sys, u, t, x0)
Produce output for a linear simulation of a system; produces a plot for the output of the system, sys. You can make up "u" to be any shape you want including a pulse train. If you want more help on this just ask :-) Doug PS please bottom post - Yes I know I goofed first. |
[Prev in Thread] | Current Thread | [Next in Thread] |