MATLAB: Need help with computing an approximation of a singular integral.

numerical integration

Hey guys,
I'm fairly new at Matlab but would like to use it to compute the integral from [0,infinity): (sin(x^5)) / (x^(2)*(1+x)^(55)) dx
I was going to use the Gauss quadrature but that only works for polynomials, hence i'm not entirely sure as to what method or technique I can use in this case. Any ideas?
Thanks a lot

Best Answer

Use integral function.
fun = @(x) (sin(x.^5)) ./ (x.^(2).*(1+x).^55);
q = integral(fun,0,inf)