clcclearsyms x yy = Dsolve('Dy = (x^3 - 5*y + 3*x)/x','x')pretty(y)% num2str(x)
xx = 1:.01:3;yy = subs(y,x,xx)plot(xx,yy)
MATLAB: I am getting following error. “??? Error using ==> plot Conversion to double from sym is not possible.”
doubleplotsymbolic
Best Answer