Tapering of 2D matrices

版本 1.2.0.0 (1.8 KB) 作者: Christian Jensen
Performs gradual tapering of matrices
438.0 次下载
更新时间 2013/4/4

查看许可证

MATTAPER Tapering of 2D matrices.
[A,WINDOW] = MATTAPER(X,TF,W,S) performs gradual tapering by applying
either a student's t cumulative distribution function or a cosine
function to the four borders of the 2D matrix X.
For cosine: W is width of cosine in percent of width of X. S is unused.
For t-distribution: S defines the (integer) rate of decreasing border
values, and W the (integer) position of the half height of the applied
border window.

tf =
1: t-distribution
2: cosine

Example:
X = ones(60); % Uniform distribution
figure,surf(mattaper(X))

Written by Christian Lundmand Jensen
Date: 15th of February, 2013.

Update: 4th of April 2013
- Added cosine taper

引用格式

Christian Jensen (2025). Tapering of 2D matrices (https://www.mathworks.com/matlabcentral/fileexchange/40354-tapering-of-2d-matrices), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.2.0.0

Added cosine taper

1.1.0.0

Fixed problem with wrong sized window matrix.

1.0.0.0