spectralVariableWithResolution
create a new variable with different resolution
Declaration
varX2 = spectralVariableWithResolution(wvtX2,var)
Parameters
vara variable with dimensions [Nj Nkl]wvtX2a WVTransform of different size.
Returns
varX2matrix the size Nklj
Discussion
Given a variable with dimensions [Nj Nkl], this returns a new variable
with dimensions matching wvtX2. Coefficients are matched by their
integer (kMode,lMode,jMode) identities. Modes absent from the target are
discarded and target modes absent from the source are initialized to zero.