Transfer Function in MATLAB

  • Thread starter gimini75
  • Start date
  • #1
52
0
Hi

I have a transfer function< I want to draw a bode diagram in MATLAB, the transfer function is for a simple HPF when I use MATLAB to find the magnitude and phase shift it giving a wrong diagram, the transfer function is:

=RCs / (RCs + 1)
I want to know how shoud I have to manipulate this function in MATLAB to find the correct answer?
Capacitance = 220 nF
R = 10 kilo ohm
Thanks
 

Answers and Replies

  • #2
CEL
656
0
s=tf('s');
RC=220e-12*1e4;
G=RC*s/(RC*s+1);
bode(G)
 

Related Threads on Transfer Function in MATLAB

Replies
2
Views
2K
Replies
4
Views
13K
Replies
1
Views
987
  • Last Post
Replies
2
Views
5K
  • Last Post
Replies
0
Views
8K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
0
Views
3K
  • Last Post
Replies
20
Views
3K
  • Last Post
Replies
2
Views
9K
  • Last Post
Replies
2
Views
2K
Top