MATLAB: Problem in ezplot with simple equation ezplot function s=dsolve ('Dy=(t+y)^(1/2)','y(0.4)=0.41') ezplot(s,[0.4,10]) Whats wrong??? Best Answer Not all differential equations have analytical solutions. Fortunately, ode45 will integrate this without problems:DE = @(t,y) (t+y)^(1/2);[T,Y]= ode45(DE, [0.4 10], 0.41);figure(1)plot(T,Y)grid Related SolutionsMATLAB: Ezplot axis function [] = StabilityPWVL(n)syms xfor k = 1:n a = double(int(cos(x)*(cos(k*x)),x,0,2*pi)/pi); b = double(int(cos(x)*(sin(k*x)),x,0,2*pi)/pi); L = @(lam,epsy) ((2*lam/k)-1).^2 - (a^2 + b^2)*(3*epsy/4).^2; figure(k) ezplot(L,[0.2 1],[0 0.8])end MATLAB: Error when using ezplot syms a(x,y)a = x^3 + y^3 - 3*x*y == 0;ezplot(lhs(a),[-2, 2, -3, 2]) Related QuestionError using ezplot commandError while using ezplotSimple question regarding ezplotError while using ezplot
Best Answer