degreesOfFreedomForComplexMatrix
a matrix with the number of degrees-of-freedom at each entry
Declaration
dof = WVGeometryDoublyPeriodic.degreesOfFreedomForComplexMatrix(Nx,Ny);
Parameters
Nx
grid points in the x-directionNy
grid points in the y-direction
Returns
dof
matrix containing dof
Discussion
A complex valued matrix A defined on a grid of size [Nx Ny] would has 2NxNy degrees-of-freedom at each grid point. In the Fourier domain, it also has 2NxNy degrees-of-freedom at each grid point.