MATLAB: Where am I going wrong with the code

integrationvector

pv=@(x,y,z) (x.*(y.^2)*(exp(-2*z.)))
Q=integral3(pv,0,2,0,2,0,2)
when I add a . to the z is when I get an error

Best Answer

pv=@(x,y,z) (x.*(y.^2).*(exp(-2.*z)))
Related Question