フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

i don't find where is the error plz help me

1 回表示 (過去 30 日間)
mouna
mouna 2011 年 5 月 2 日
閉鎖済み: Walter Roberson 2016 年 1 月 22 日
hi,
this is my program but i don't find where is the error plz help me it's urgent. thanks for your help in advance.
function pdex
m = 0;
z = linspace(0,100,100);
t = linspace(0,5,5);
sol = pdepe(m,@pdexpde,@pdexic,@pdexbc,z,t);
C = sol(:,:,1);
figure;
plot(z,C(end,:));
% ----------------------------------------------------------
function [g,f,s] = pdexpde(z,t,C,DCDz);
rhos=0.55;
rhof=0.385;
epsilon=0.64;
u=0.05;
keq=23.53;
A=1+(((1-epsilon)/epsilon)*keq*(rhos/rhof));
B=u/epsilon;
g=A;
f=0;
s=(-B)*DCDz;
% ----------------------------------------------------------
function C0 = pdexic(z);
a=0.0015;
C0=a;
% ----------------------------------------------------------
function [pl,ql,pr,qr] = pdexbc(zl,Cl,zr,Cr,t)
pl = 0;
ql = 0;
pr = 0;
qr = 1;
  2 件のコメント
Walter Roberson
Walter Roberson 2011 年 5 月 2 日
Do we get a hint about what error you observe? An error message and an associated line?
Jan
Jan 2011 年 5 月 3 日
If your question is any kind or "urgent", it would be a very good idea to explain anything about the problem.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by