How can I plot a transfer function with linear amplitude in MATLAB?

Click For Summary
SUMMARY

The discussion focuses on plotting a transfer function in MATLAB with a linear amplitude scale. The transfer function defined is m = tf([1,0,1,0],[2,0,1]). Users can achieve a linear amplitude plot by adjusting the Bode plot options, specifically setting FreqScale and MagScale to 'linear'. Alternatively, the freqresp function can be utilized to generate the y-values for plotting.

PREREQUISITES
  • Familiarity with MATLAB programming environment
  • Understanding of transfer functions in control systems
  • Knowledge of Bode plot configurations
  • Experience with MATLAB plotting functions
NEXT STEPS
  • Explore MATLAB's tf function for creating transfer functions
  • Learn how to customize Bode plot options in MATLAB
  • Investigate the freqresp function for frequency response analysis
  • Research linear vs. logarithmic amplitude scaling in signal processing
USEFUL FOR

Control system engineers, MATLAB users, and anyone interested in visualizing transfer functions with linear amplitude scales.

mrachidi
Messages
1
Reaction score
0
hello,
please i need ur help. i want to draw this transfer function m = tf ([1,0,1,0],[2,0,1]) in MATLAB and i want the y-axis to be the amplitude and x the frequencies. This is not Bode because i want the amplitude to be linear and not log scale. thank u for your help
 
Physics news on Phys.org
You can change the bode plot options FreqScale and MagScale to 'linear'.

Alternatively you could use freqresp to produce the y values and then plot.
 

Similar threads

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