필터 지우기
필터 지우기

Hi, I have problem with dsolve

조회 수: 1 (최근 30일)
Elkalai Mouncif
Elkalai Mouncif 2020년 4월 7일
댓글: Elkalai Mouncif 2020년 4월 7일
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
Birdman
Birdman 2020년 4월 7일
This should not give any error. What is the complete error message?

댓글을 달려면 로그인하십시오.

답변 (1개)

Steven Lord
Steven Lord 2020년 4월 7일
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.
  댓글 수: 1
Elkalai Mouncif
Elkalai Mouncif 2020년 4월 7일
thinks your answer it's correct

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by