Heat Equation 1D Finite Difference solution

버전 1.0.0 (1.79 KB) 작성자: RMS Danaraj
This code explains and solves heat equation 1d.
다운로드 수: 1.3K
업데이트 날짜: 2020/4/28

라이선스 보기

% Heat equation in 1D
% The PDE for 1D heat equation is Ut=Uxx, 0=<t,0=<x=<L
% Initial condions are U(0,t)=a(t);U(L,t)=b(t)
% the boundary condition is U(x,0)=g(x)
% u(t,x) is the solution matrix.
% the finite linear heat equation is solved is....
% -u(i-1,j)=alpha*u(i,j-1)-[1+2*alpha]*u(i,j)+alpha*u(i,j+1)...(1)
%alpha=dx/dt^2. dx,dt are finite division for x and t.
% t is columnwise
%x is rowwise dealt in this code
%suggestions and discussions are welcome.

인용 양식

RMS Danaraj (2024). Heat Equation 1D Finite Difference solution (https://www.mathworks.com/matlabcentral/fileexchange/75266-heat-equation-1d-finite-difference-solution), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0