www.gusucode.com > symbolic 源码程序 matlab案例代码 > symbolic/FindMultipleSolutionsBySpecifyingStartingPointsExample.m
%% Find Multiple Solutions by Specifying Starting Points %% 1 % Plot the two sides of the equation, and then use the plot to specify % initial guesses for the solutions. % % Plot the left and right sides of the equation $200 \sin(x)= x^3 - 1$. syms x eqnLeft = 200*sin(x); eqnRight = x^3 - 1; fplot([eqnLeft eqnRight]) title([texlabel(eqnLeft) ' = ' texlabel(eqnRight)])