解偏微分方程 Resources

Showing items tagged with "解偏微分方程"

A C-N (Crank-Nicolson) method implementation for solving parabolic partial differential equations with fixed step size: du/dx - a * d²u/dx² = 0. This code allows modification of coefficient 'a' to handle different equation parameters and supports variable coefficients through loop-based updates. The algorithm employs implicit time-stepping with second-order accuracy in both time and space dimensions.

MATLAB 215 views Tagged