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

  • Context: MATLAB 
  • Thread starter Thread starter rlspin
  • Start date Start date
  • Tags Tags
    3d Graph Matlab
Click For Summary

Discussion Overview

The discussion revolves around how to create a 3D graph for a transfer function in MATLAB, specifically focusing on the representation of transfer functions and the potential for visualizing their behavior in three dimensions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant inquires about producing a 3D graph for a simple transfer function, expressing uncertainty about the process.
  • Another participant suggests that while Bode plots are common, a 3D plot might involve contour plots against complex values of s.
  • A subsequent post refines the example to include a transfer function with a variable X, questioning how to visualize the results in 3D.
  • Another participant proposes that to plot magnitude as a function of various frequencies and values of X, a surface or mesh plot would be appropriate, mentioning the use of the meshgrid function.

Areas of Agreement / Disagreement

Participants have not reached a consensus on the best approach to plotting the transfer function in 3D, with multiple suggestions and methods being discussed.

Contextual Notes

Participants have not fully explored the assumptions or limitations of their proposed methods, such as the specific definitions of the transfer function or the mathematical steps involved in generating the plots.

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
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K