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

📄 at_f.m

📁 基于内点法的解l2_l1和l2_TV优化问题的matlab代码
💻 M
字号:
% At_f.m%% Adjoint for "scrambled Fourier" measurements.%% Usage: x = At_f(b, N, OMEGA, P)%% b - K vector = [real part; imag part]%% N - length of output x%% OMEGA - K/2 vector denoting which Fourier coefficients to use%         (the real and imag parts of each freq are kept).%% P - Permutation to apply to the input vector.  Fourier coeffs of%     x(P) are embedded.%     Default = 1:N (no scrambling).%% Written by: Justin Romberg, Caltech% Created: October 2005% Email: jrom@acm.caltech.edu%function x = At_f(b, N, OMEGA, P)if (nargin < 4),  P = 1:N;  endK = length(b);fx = zeros(N,1);fx(OMEGA) = sqrt(2)*b(1:K/2) + i*sqrt(2)*b(K/2+1:K);x = zeros(N,1);x(P) = sqrt(N)*real(ifft(fx));

⌨️ 快捷键说明

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