Matlab dsolve function issue with format.
이전 댓글 표시
I tried to do
>> eqn = '2*D2x + 2.2*Dx + 0.4*x = 0';
>> sol = dsolve(eqn);
>> pretty(sol)
/ / sqrt(41) 11 \ \
C1 exp| -t | -------- + -- | | + C2
\ \ 20 20 / /
/ / sqrt(41) 11 \ \
exp| t | -------- - -- | |
\ \ 20 20 / /
How can I get the answer as C1exp(-0.280*t) +C2 exp(-0.870t) rather than the format shown above. Thanks.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Operations on Strings에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!