偏微分差分四种格式的matlab程序
( 1) Lax-Fridrichs格式function u = LaxFridrichs(a,dt,n,x1,x2,m)format long ;h = (x2-x1)/(n-1);for j=1