Quantcast Algorithm for Finite diference Text - Physics Forums Library

PDA

View Full Version : Algorithm for Finite diference


chitambira
Jun30-08, 02:23 PM
Can anyone help me with a simple algorithm or code for a Finite difference Time domain scheme to implement in Matlab.
eg (U(i,j) - U(i+1,j))/deltaT = K(U(i,j)-U(i,j+1)/deltaZ + C

where deltaT (time step size)
deltaZ ( one spatial dimension step size)
and K and C are constants