integrating a function using int

조회 수: 2(최근 30일)
bhanu kiran vandrangi
bhanu kiran vandrangi 2021년 8월 3일
답변: Walter Roberson 2021년 8월 3일
syms s t d e
y=((0.005659*s^2+0.05206*s+0.004496)/(s^3+9.357*s^2+2.228*s+0.06147))*((27.5084*d)+(27.5084*(e/s)))
z=vpa(ilaplace(y,s,t),5)
x=((0.003013)/(s^3+9.357*s^2+2.228*s+0.06147))*((-20.6533*d)+(-20.6533*(e/s)))
v=vpa(ilaplace(x,s,t),5)
C=z+v
B=sign(C-1)*(C-1)
w=(7.4513/B)
I=int(w,t,0,2000)
i am not getting any output , its been running for over a hour how to resolve this(the integration should only be done w.r.t 't' only and 'd and e' should be remain as they are

채택된 답변

Walter Roberson
Walter Roberson 2021년 8월 3일
syms s t d e real
y=((0.005659*s^2+0.05206*s+0.004496)/(s^3+9.357*s^2+2.228*s+0.06147))*((27.5084*d)+(27.5084*(e/s)))
z = ilaplace(y,s,t)
You are not going to get anywhere with symbolic integration until you convert the sum of root() into an expression without root() .
Even then you are not likely to get anywhere until you substitute in numeric d and e values.

추가 답변(0개)

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by