Borrar filtros
Borrar filtros

Hi, I have problem with dsolve

1 visualización (últimos 30 días)
Elkalai Mouncif
Elkalai Mouncif el 7 de Abr. de 2020
Comentada: Elkalai Mouncif el 7 de Abr. de 2020
syms h r v(x)
h = 4.5
g = 4/pi
A = pi
expr = [h^2*(diff(v, 2)+2*i*h*diff(v) - g == 0)];
Dv=diff(v);
cond = [v(0) == 0,Dv(0)==0];
sol = vpa(dsolve(expr,cond),4)
  1 comentario
Birdman
Birdman el 7 de Abr. de 2020
This should not give any error. What is the complete error message?

Iniciar sesión para comentar.

Respuestas (1)

Steven Lord
Steven Lord el 7 de Abr. de 2020
Based on the longest of the Tags you specified:
attempt to execute script dsolve as a function: c:\users\dell\desktop\matlab2019\dsolve.m error in untitled1 (line 112) sol = vpa(dsolve(expr
you've created your own dsolve.m script that's taking precedence over the dsolve function in Symbolic Math Toolbox. Rename c:\users\dell\desktop\matlab2019\dsolve.m so it no longer conficts with the dsolve function written by MathWorks.

Community Treasure Hunt

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

Start Hunting!

Translated by