Borrar filtros
Borrar filtros

same code giving different output on two different versions of matlab in the same system

1 visualización (últimos 30 días)
here I attached the screenshots of both the codes which I run on two versions of matlab 2021a and 2014a both codes are run on the same system but the output graphs are different
please tell me why this error occur?
here I am giving the code
eqn1='x*Dy+2*y=4*x^2'
y=dsolve(eqn1,'y(1)=c','x')
hold on;
syms x;
for cval =-5:5
ezplot(subs(y,'c',cval),[0,5])
end
axis tight
xlabel('x')
ylabel('y')
grid

Respuestas (0)

Categorías

Más información sobre Directed Graphs en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by