next up previous contents
Next: gaussx2d Up: The commands in alphabetical Previous: gauss1d   Contents

Subsections


gauss2d

Compute the bidimensionnal Gaussian


Syntax

[out] = gauss2d(kx,ky,sigma)


Description

This function computes the bidimensionnal Gaussian. This is not truly a wavelet but this function can be usefull for approximation calculation.


Input Data

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

sigma
[REAL SCALARS]: The spread of the Gaussian.


Output Data

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


Example(s)

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


References


See Also

cwt2d cwt2d_yashow meshgrid samcwt2d samcwt2d_yashow sarcwt2d

Location

continuous/2d/wave_defs/gauss2d.m