next up previous contents
Next: gaussz2d Up: The commands in alphabetical Previous: gauss2d   Contents

Subsections


gaussx2d

Compute the 2D x order derivative of Gaussian


Syntax

[out] = gaussx2d(kx,ky,order,sigma[,sigmax][,sigmay])


Description

This function computes the 2D x order derivative of Gaussian. That is, the wavelet given by

PSIHAT (kx,ky) = kx.^order .* exp( - (A*K).^2 / 2 )

where PSIHAT is the Fourier transform of PSI;
      K = (kx,ky);
      A = diag(sigmax,sigmay).

This wavelet depends of three parameters: order, sigmax, sigmay. This function is used by the cwt2d routine which compute continuous wavelet transform in 2D.


Input Data

kx,ky
[REAL MATRICES]: The frequency plane. Use meshgrid to create it.

order, sigma, sigmax, sigmay
[REAL SCALARS]: The wavelet parameters. By default, sigmax = sigmay = sigma (isotropic case).


Output Data

out
[REAL MATRIX]: The wavelet in frequency plane.


Example(s)

>> step = 2*pi/128;
>> [kx,ky] = meshgrid( -pi : step : (pi-step) );
>> wav = gaussx2d(kx,ky,6,1);
>> imagesc(wav);


References


See Also

cwt2d cwt2d_yashow meshgrid samcwt2d samcwt2d_yashow sarcwt2d

Location

continuous/2d/wave_defs/gaussx2d.m


next up previous contents
Next: gaussz2d Up: The commands in alphabetical Previous: gauss2d   Contents