MATLAB: Matlab give me error when i use fzero to calculate zero of function functionroots fzero of function fun = @sin; % functionx0 = 3; % initial pointx = fzero(fun,x0) Best Answer Just go to the file location and rename the file as myFzero.m for example. Related SolutionsMATLAB: Unable to solve symbolically. x0 = [1 2];fun = @(x)sin(x)-0.703*x;sol = fzero(fun,x0) MATLAB: How to enter the following functions you need to rewrite so that the given equations are equal to zero. Then fzero finds x.fun = @(x) something with x equal to zerox0 = some starting pointres = fzero(fun,x0) Related QuestionFzero of two functions subtractedHow to use function in fzero as a variable file
Best Answer