I am trying to use the matlab pdepe tool, and when trying to replicate the two problems they provide as examples I get this error.
Undefined function or variable 'pdexic'.
Error in pdepe (line 229) temp = feval(ic,xmesh(1),varargin{:});
I am new to using Matlab and cannot understand how a replication of the example leads to an error. help is appreciated.

답변 (1개)

Walter Roberson
Walter Roberson 2016년 1월 22일

0 개 추천

You do not show your code attempt.
Example 1 at http://www.mathworks.com/help/matlab/ref/pdepe.html does not refer to pdexic : it refers to pdex1ic, the code of which is given there. Likewise the second example refers to pdex4ic, the code of which is given there.

태그

질문:

2016년 1월 22일

답변:

2016년 1월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by