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

Click For Summary
To plot the transfer function m = tf([1,0,1,0],[2,0,1]) in MATLAB with a linear amplitude scale, users can modify the Bode plot options by setting FreqScale and MagScale to 'linear'. Another approach is to utilize the freqresp function to generate the y-values for the desired frequency response, which can then be plotted accordingly.
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
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K