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

📄 a_f1d.asv

📁 压缩感知中一种测量方法。介绍如何构造测量矩阵。
💻 ASV
字号:
% A_f1d: implements the sensing matrix/operator A
% refer to At_f:  implements the sensing matrix/operator AT (A transposed)
% Written by Thong Do, JHU, 2007
% modified, Feb. 2008

function b = A_f1d(x, select_vect, rand_vect,Phi_B, blk_size)
% Input parameters
% x: N vector
% b: K vector
% select_vect: vector that contains measurement indices randomly choosen
% rand_vect: vector that randomizes samples
% Phi_B: block operator: 

% Find out the length of the input signal;
N = length(x);
% Determine the block size of the operator;
blk_size=length(Phi_B);

% Pre-randomize the signal;
if min(rand_vect) == 1
    % Random permutation; 
    x(rand_vect) = x;
elseif min(rand_vect)==0
    % Random sign flipping; 
    x = x.*rand_vect;
end
x_ = reshape(x,n,n);
fx = Phi1*x*Phi2;
fx = fx(:);
b = fx(select_vect);

⌨️ 快捷键说明

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