필터 지우기
필터 지우기

Why matlab does not integrate?

조회 수: 26 (최근 30일)
dayu
dayu 2019년 3월 14일
답변: Abdulmanan Butt 2019년 3월 14일
why matlab don't integrate for my code?

채택된 답변

Abdulmanan Butt
Abdulmanan Butt 2019년 3월 14일
Hi,
Your function is too much complex that int is unable to compute a closed form of indefinate integral. Numerical Integration will be more suitable for this function, but for that you will be evaluating definate integral.
If int cannot compute a closed form of an indefinite integral, try to approximate the expression around some point using taylor, and then compute the integral. For example, approximate the expression around t = 0. (Approximate Indefinite Integrals: https://www.mathworks.com/help/symbolic/int.html)
fApprox = taylor(f2, t, 'ExpansionPoint', 0, 'Order', 10);
int(fApprox,t)
Kindly check if you got some help from this.
Regards,
Abdulmanan Butt

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by