U(2:M,j+1)=EqtsForwardAndBackward(Low,Diag,Up,b); end otherwise
disp('差分格式类型输入有误!') return; end U=U';
%作出图形 mesh(x,t,U);
title([type '格式求解一阶双曲型方程的解的图像']); xlabel('空间变量 x'); ylabel('时间变量 t');
zlabel('一阶双曲型方程的解 U'); return;
偏微分方程数值解法的MATLAB源码
U(2:M,j+1)=EqtsForwardAndBackward(Low,Diag,Up,b);endotherwisedisp('差分格式类型输入有误!')return;endU=U';%作出图形mesh(x,t,U);titl
推荐度:





点击下载文档文档为doc格式