help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A problem with ilaplace()


From: Doug Stewart
Subject: Re: A problem with ilaplace()
Date: Tue, 14 Nov 2017 14:15:57 -0500


Try this:

p=tf('s')

#a few simple calculations
Rgen=50;C1=100e-9;Rlast=50;
fg=10e3;
R1=1/(2*3*10e3*C1)-Rgen;
wg=2*3*fg;

#this works fine, Tp1 is a simple imagined example ...
Tp1=1/(5*p+6)
laplace1=1/p*Tp1

figure(1)
step(laplace1)



#this doesn't work, I don't understand that because Tp2 is the same
#as the example with other numbers
Tp2=1/(1+(Rgen+R1)/Rlast+p*C1*(Rgen+R1))


laplace2=1/p*Tp2
figure(2)
step(laplace2)

#since you have a pole at the origin then the output keeps getting larger.


#try this
figure(3)
step(Tp2)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]