test_decreasing_2d.m

来自「matlab的工具箱」· M 代码 · 共 21 行

M
21
字号
% test_decreasing_2d - test the 2D alpert transform
%
% If the Alpert basis has more than alpha vanishing moments
% (check the value of k), then the decreasing of the error
% of reconstruction with M coefficients should be like
% |f-f_M| ~ M^{-alpha/2}
%
% You have to remember that this is not a fully
% 2D wavelet construction (the transform
% is pyramidal only on 1 dimension, on 
% the other this is just a fixed polynomial basis
% with a given number of slices).
%
% Here we plot the decreasing of the error for various number of 
% slices. You can see that as the number of coefficient M 
% increases, the number of slices increases.
% This is because you need more precision also on 
% the Y direction to reconstruct the function
% (which has the same regularity both in the X and in the Y direction).
%
%   Copyright (c) 2004 Gabriel Peyr

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?