- #1
JoshHolloway
- 222
- 0
I am trying to find the transfer function for a simple RL circuit. At my school they don't use version 7, and I was able to find it with this code:
NUM = 20e3;
DEN = [1 20e3];
sys = tf(NUM, DEN)
That found the transfer function for the RL series circuit with a 20K resistor and a Inductor with a value of 500mH. The transfer function was [tex] \frac{20000}{s+20000}[/tex].
When I try this same code with MatLab version 7, it says that tf is not an undefined function. How do I find the Transfer Function with version 7?
NUM = 20e3;
DEN = [1 20e3];
sys = tf(NUM, DEN)
That found the transfer function for the RL series circuit with a 20K resistor and a Inductor with a value of 500mH. The transfer function was [tex] \frac{20000}{s+20000}[/tex].
When I try this same code with MatLab version 7, it says that tf is not an undefined function. How do I find the Transfer Function with version 7?
Last edited: