MATLAB: Drawing a function graph graphMATLAB for Best Answer see fplot()(link)Use syms x and use fplot() to plot the function Related SolutionsMATLAB: Calculating a function and drawing a graph syms xf=sin(x)/(x^2+1);fplot(f) derivative=diff(f,x)derivative_when_x_equals_one=double(subs(derivative,x,1)) MATLAB: How to plot cosx*coshx+1=0 I don't have the Symbolic Math Toolbox, so I can't comment on your code. But this worked for me.f = @(x) (cos(x)).*(cosh(x))+1;figurefplot(f)xlim([0 10]);ylim([-100 500]); Related QuestionPlotting simple one variable functions for beginner using fplot
Best Answer