Simulating transfer functions in MATLAB?

40 views (last 30 days)
Jesse
Jesse on 21 Sep 2011
Greetings again!
Another feat I am trying to accomplish is to simulate a simple transfer function design given one signal that over samples another. Is there any way to do this is MATLAB? If so, how can this be done, and what information needs to be known before I start?
Thanks!

Answers (2)

Fangjun Jiang
Fangjun Jiang on 21 Sep 2011
Not sure what is "given one signal that over samples another". Use tf() to define a transfer function, use step() to see the step response. From help tf and help step, you'll find many other functions through "See also".
  4 Comments
Fangjun Jiang
Fangjun Jiang on 21 Sep 2011
No! You can try-and-error, which means you guess a transfer function, plot its output to see if it matches and then you re-fine your guess. But there is no built-in function that can help you. The remotely related topic is the System Identification Toolbox. But that still requires you have a rough idea what the transfer function is like. The toolbox can help you to figure out the coefficients.

Sign in to comment.


Sean
Sean on 21 Sep 2011
Hello Jesse,
Are the lines you are looking at linear? If they are sampled at different intervals/points, you could still do a linear regression to get the equations for each line. Then you could divide the equations to get a linear transfer function.
If they aren't linear, I think you could still do it, but it would be a lot more ornery. :)

Community Treasure Hunt

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

Start Hunting!