Transfer function: magnitude & phase of frequency response - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Transfer function: magnitude & phase of frequency response

xxblehxxbleh Posts: 1Member
i need to plot the magnitude and phase of the following equation:

first, the transfer function is:

the frequency response is basically z=exp(j*omega). thus,


hopefully, you have an idea of how the equations look like. i need to figure out how to get the magnitude of that and the phase as well. it's a pretty ugly equation, and i've tried to simplify it by partial fractions, but it doesn't really help.

any idea?


  • jjasso5jjasso5 Posts: 41Member
    The result of your function is a complex number.
    You don't need to simplify the function. Matlab works it
    out for you, as long as the function is well written.

    Test it with some points to see that it's really

    Use built-in function abs( ) to get the magnitude.
    Use function angle( ) to get the angle.

    See this example:

    Good luck!
Sign In or Register to comment.