Diffusion in 1D and 2D

The parabolic diffusion equation is simulated in both 1D and 2D

You are now following this Submission

The diffusion equation is simulated using finite differencing methods (both implicit and explicit) in both 1D and 2D domains. In both cases central difference is used for spatial derivatives and an upwind in time.

Cite As

Suraj Shankar (2026). Diffusion in 1D and 2D (https://www.mathworks.com/matlabcentral/fileexchange/38088-diffusion-in-1d-and-2d), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Physics in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0