k-Wave Toolbox |
Smooth a matrix
mat_sm = smooth(kgrid, mat) mat_sm = smooth(kgrid, mat, restore_max) mat_sm = smooth(kgrid, mat, [], window_type) mat_sm = smooth(kgrid, mat, restore_max, window_type)
smooth
filters an input matrix using an n-dimensional frequency domain window created using getWin
. If no window type is specified, a Blackman window is used.
|
k-Wave grid structure returned by |
|
spatial distribution to smooth |
|
Boolean controlling whether the maximum value is restored after smoothing (default = |
|
shape of the smoothing window; any valid inputs to |
|
smoothed spatial distribution |
fft
, ifft
, fft2
, ifft2
, fftn
, ifftn
, makeGrid
sharpness | spectrum |
© 2009-2014 Bradley Treeby and Ben Cox.