how to plot figure of expression with `in RootOf`?
조회 수: 2 (최근 30일)
이전 댓글 표시
i use ilaplace to get the output signal but how to plot the output signal `xt`
codes are as this
syms t s
gs=(5*s + 4)/(s^4 + 4*s^3 + 2*s^2 + 3*s);
us= laplace(sin(t + pi/6), t, s);
xs = us*gs;
xt = ilaplace(xs, s, t)
and the xt is
xt =
sin(t)/4 - (9*cos(t))/4 + (5*symsum(exp(r3*t)/(3*r3^2 + 8*r3 + 2), r3 in RootOf(s3^3 + 4*s3^2 + 2*s3 + 3, s3)))/4 + (7*3^(1/2)*symsum((r3*exp(r3*t))/(3*r3^2 + 8*r3 + 2), r3 in RootOf(s3^3 + 4*s3^2 + 2*s3 + 3, s3)))/12 + (2*3^(1/2))/3 + (35*symsum((r3*exp(r3*t))/(3*r3^2 + 8*r3 + 2), r3 in RootOf(s3^3 + 4*s3^2 + 2*s3 + 3, s3)))/4 - (3^(1/2)*cos(t))/4 - (5*3^(1/2)*symsum((r3^2*exp(r3*t))/(3*r3^2 + 8*r3 + 2), r3 in RootOf(s3^3 + 4*s3^2 + 2*s3 + 3, s3)))/12 - (9*3^(1/2)*sin(t))/4 + (95*3^(1/2)*symsum(exp(r3*t)/(3*r3^2 + 8*r3 + 2), r3 in RootOf(s3^3 + 4*s3^2 + 2*s3 + 3, s3)))/12 + (9*symsum((r3^2*exp(r3*t))/(3*r3^2 + 8*r3 + 2), r3 in RootOf(s3^3 + 4*s3^2 + 2*s3 + 3, s3)))/4
>>
so how to plot `xt` with `t`?
댓글 수: 3
답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!