⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test_mex.m

📁 小波提升算法的实现
💻 M
字号:
% test mex function for haar and lifting transforms

n = 32;
Jmin = 0;
x = rand(n,1);
% x = ones(n,1);

y = perform_79_transform(x, Jmin, 1);
xx = perform_79_transform(y, Jmin, -1);
norme(x-xx)


type = '7_9';
options.use_mex = 1;
y1 = perform_lifting_transform_byname(x, Jmin, 1, type, options);
options.use_mex = 0;
y2 = perform_lifting_transform_byname(x, Jmin, 1, type, options);
norme(y1-y2)

⌨️ 快捷键说明

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