压缩感知(六)

时间:2021-11-07 22:46:21

常用测量矩阵及matlab实现

随机高斯测量矩阵

function [ Phi ] = GaussMtx( M,N )
%GaussMtx Summary of this function goes here
%Generate Bernoulli matrix
%M -- RowNumber
%N -- ColumnNumber
%Phi -- The Gauss matrix

%% Generate Gauss matrix  
    Phi = randn(M,N);
    %Phi = Phi/sqrt(M);
end

随机贝努力测量矩阵

function [ Phi ] = BernoulliMtx( M,N )