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

3d graph help

  1. Mar 14, 2009 #1
    Matlab 3d graph help

    I'm pretty new to matlab so im sorry if this is a stupid question but how do i produce a 3d graph for a transfer function?
    Just for arguments sake, a simple TF like this:
    2
    -------------
    s^2 + 2 s + 3
     
    Last edited: Mar 15, 2009
  2. jcsd
  3. Mar 15, 2009 #2

    MATLABdude

    User Avatar
    Science Advisor

    Well, what are you trying to plot? Bode plots are sometimes plotted, but 3D? I suppose you could plot some kind of contour plot against complex values of s...
     
  4. Mar 15, 2009 #3
    Sorry, that was a bad example. Say I had this transfer function instead:
    2
    -------------
    s^2 + 2Xs + 3

    and I had various values for X. I understand how i would plot the various curves on one graph in 2D but is there a way to 3d graph for the same results?
     
  5. Mar 15, 2009 #4

    MATLABdude

    User Avatar
    Science Advisor

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook