MATLAB: How to explain that integral(sqrt,0.5,1) does not work functioninput argumentintegral but fun=@(x) sqrt(x);integral(fun,0.5,1) does? Best Answer Hi YZ,tryintegral(@sqrt,.5,1)It's syntax ... Related SolutionsMATLAB: How to do integration Please read help about functions MATLAB:quad, quad2d, dblquad, quadgk, quadl, quadv, trapz, triplequad,int MATLAB: Solving integrals with Matlab syms xint( 7 + 1/sqrt(1-x^2), x, 0, 1/2 ) Related QuestionIntegration in MATLAB with symbolic integration limitsDefinite integral of a constantHow to find the integral of e^(-.2x) * (10sin(x/2)) + 2 from 0 to 6 pi in MATLAB? This is what I have and it doesn’t work. I wrote that in the script and tried to call in command, didn’t work. I also got an error with integral function.Can someone explain me on how this duty cycle work
Best Answer