MATLAB How do I plot a 3d graph for a transfer function in MATLAB?

  • Thread starter Thread starter rlspin
  • Start date Start date
  • Tags Tags
    3d Graph Matlab
Click For Summary
To create a 3D graph for a transfer function in MATLAB, particularly for a function like 2/(s^2 + 2Xs + 3), users can utilize surface or mesh plots to visualize the magnitude against various frequencies and values of X. The meshgrid function is essential for generating the grid of values needed for these plots. Resources for using meshgrid, surface plots, and mesh plots are available on the MATLAB documentation website, which provides guidance on implementing these techniques effectively.
rlspin
Messages
6
Reaction score
0
Matlab 3d graph help

I'm pretty new to MATLAB so I am 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:
Physics news on Phys.org
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...
 
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?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K