what is the problem of this code?
please discribe the problem for me f=sym('f',[1 4]) q=zeros(1,4) for i=0:3 f(1,i+1) = (@(x)(exp(-x).*(x.^0.5).*x.*laguerreL(i,0.5,x))) %g(1,i+1)=quadgk(f(1,i+1),0,1) end in this code i want to calculate double int that funtion is a array of M+1 dimention
The resulting integrals
There are no LaguerreL polynomials of order 0.
In MATLAB the 1st element is always indexed 1, not 0.