Why matlab does not integrate?
26 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
dayu
el 14 de Mzo. de 2019
Respondida: Abdulmanan Butt
el 14 de Mzo. de 2019
why matlab don't integrate for my code?
0 comentarios
Respuesta aceptada
Abdulmanan Butt
el 14 de Mzo. de 2019
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Calculus en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!