dont work syms??

조회 수: 2 (최근 30일)
thanos zisopoulos
thanos zisopoulos 2017년 11월 14일
댓글: Baojun Yuan 2023년 1월 23일
nothing example with syms dont work in matlab for example this syms y(t) a eqn = diff(y,t,2) == a*y; ySol(t) = dsolve(eqn)
  댓글 수: 4
thanos zisopoulos
thanos zisopoulos 2017년 11월 14일
편집: Stephen23 2017년 11월 14일
syms y(t) a
eqn = diff(y,t,2) == a*y;
ySol(t) = dsolve(eqn)
Error using assignin
Invalid variable name "y(t)" in ASSIGNIN.
Error in syms (line 56)
assignin('caller',varargin{i},sym(varargin{i}));
Baojun Yuan
Baojun Yuan 2023년 1월 23일
same problem ...........

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

답변 (1개)

Steven Lord
Steven Lord 2017년 11월 14일
Which release of MATLAB and Symbolic Math Toolbox are you using? Based on that error I suspect you're using a release prior to release R2012a, when the ability to create symbolic functions was introduced.
The functionality described in the online documentation is for the most recent release. If you're using a sufficiently older release (6+ years is "sufficiently older") I recommend referring to the documentation included in your installation. That local documentation will not refer to features introduced after the release you're using.

카테고리

Help CenterFile Exchange에서 Conversion Between Symbolic and Numeric에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by