Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Plotting Transfer Functions Using Matlab

  1. Oct 25, 2005 #1

    mpm

    User Avatar

    I am using a bode plot program using Matlab to try and plot transfer functions.

    Here is the program I have:
    http://www.swarthmore.edu/NatSci/echeeve1/Ref/Bode/BodePlotGui.html [Broken]

    Everytime I try and type in the command that it says to use, it gives me a tf is an unknown variable.

    Does anyone know how I can get this to work?
     
    Last edited by a moderator: May 2, 2017
  2. jcsd
  3. Oct 25, 2005 #2

    mpm

    User Avatar

    I figured out how to get the zeros, poles, and gain by using this:

    num = [2 3];
    den = [1 4 0 5];
    [z,p,k] = tf2zp(num,den)

    But I cant figure out how to plot this to find the frequency response and bandwidth.

    Note: Im just trying to find alternatives since I can't get this other program to work. Anything that works I will use.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook




Loading...
Similar Threads for Plotting Transfer Functions Date
Plot a stereographic hypercube in a Mac's Grapher.app? Mar 17, 2018
Mathematica Errors when plotting but not when evaluating Mar 13, 2018
Mathematica Color Contour Plots Mar 8, 2018
Mathematica Taking forever to plot Feb 27, 2018
Help! plotting transfer function in matlab Oct 11, 2010