Matlab Transfer Function


by pnjbi
Tags: function, matlab, transfer
pnjbi
pnjbi is offline
#1
Nov20-07, 01:22 PM
P: 6
Hi,

I'm trying to enter this into matlab:

G(s) = -1/((C1+C2)s)

How can I enter this into matlab?

Thanks!
Phys.Org News Partner Science news on Phys.org
Simplicity is key to co-operative robots
Chemical vapor deposition used to grow atomic layer materials on top of each other
Earliest ancestor of land herbivores discovered
mby110
mby110 is offline
#2
Nov22-07, 09:19 AM
P: 3
Hi
If C1 and C2 are constants you can simply use tf() function.

If they are parameters using ode45 functions and a little code will help.

Best
pnjbi
pnjbi is offline
#3
Nov25-07, 05:55 PM
P: 6
I can't seem to figure out how using the ode45 function will help me.
I have 4 equations:
G1 = sym('-1/((C1+C2)*s)')
G2 = sym('-C2*s')
G3 = sym('-1/(L2*s)')
G4 = sym('-1/((C3+C2)*s)')
G5 = sym('-1/(L4*s)')
G6 = G2

% Set up equations
V1 = ((-V1) + (-I2) + (-V3)*G6 + Vin)*G1
I2 = ((-V1) + (-V3))*G3
V3 = ((I2) + (-V1)*G2 + (-Vout))*G4
Vout = ((-V3) + (Vout))*G5

V1, I2, V3, Vout and I need to solve for Vout/Vin. How can I do this using Matlab?

Thanks.

pnjbi
pnjbi is offline
#4
Nov25-07, 08:57 PM
P: 6

Matlab Transfer Function


Think I got it.

Used the solve function.


Register to reply

Related Discussions
Transfer Functions in MatLab Math & Science Software 9
Solving Heat Transfer Problem Node Analysis using Matlab Math & Science Software 2
Transfer function Advanced Physics Homework 0
Matlab Transfer Function! Math & Science Software 1
Plotting Transfer Functions Using Matlab Math & Science Software 1