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

📄 fht2.m

📁 SparseLab is a Matlab software package designed to find sparse solutions to systems of linear equati
💻 M
字号:
function y = FHT2(x)
% FHT2: Computes the 2-D Hadamard transform of a signal
%  Usage:
%    y = FHT2(x);
%  Inputs:
%    x      image of dyadic dimensions
%  Outputs:
%    y      Hadamard transform coefficients
%
% Description
%   FHT2 computes the Fast 2-D Hadamard transform of the image x.
% See Also
%   FHT

[m,n] = size(x);
y = zeros(m,n);

for jj = 1:n
    y(:,jj) = FHT(x(:,jj));
end

for jj = 1:m
    y(jj,:) = FHT(y(jj,:))';
end
%% Part of SparseLab Version:100% Created Tuesday March 28, 2006% This is Copyrighted Material% For Copying permissions see COPYING.m% Comments? e-mail sparselab@stanford.edu%

⌨️ 快捷键说明

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