MATLAB: Error with int function

intmathwork

I write in matlab
I=int('(3*x.^2-1.2)/(x.^5+1)',2,3.2) And get error Check for missing argument or incorrect argument data type in call to function 'int'.

Best Answer

Pass the integrand as a symbolic expression
syms x
I = int((3*x.^2-1.2)/(x.^5+1),2,3.2)
Related Question