资源简介
压缩感知代码,matlab,l1qc_logbarrier
代码片段和文件信息
% l1qc_logbarrier.m
%
% Solve quadratically constrained l1 minimization:
% min ||x||_1 s.t. ||Ax - b||_2 <= \epsilon
%
% Reformulate as the second-order cone program
% min_{xu} sum(u) s.t. x - u <= 0
% -x - u <= 0
% 1/2(||Ax-b||^2 - \epsilon^2) <= 0
% and use a log barrier algorithm.
%
% Usage: xp = l1qc_logbarrier(x0 A At b epsilon lbtol mu cgtol cgmaxiter)
%
% x0 - Nx1 vector initial point.
%
% A - Either a handle to a function that takes a N vector and returns a K
% vector or a KxN matrix. If A is a function handle the algorithm
% operates in “largescale“ mode solving the Newton systems via the
% Conjugate Gradients algorithm.
%
% At - Handle to a function that takes a K vector and returns an N vector.
% If A is a KxN matrix At is ignored.
%
% b - Kx1 vector of observations.
%
% epsilon - scalar constraint relaxation parameter
%
% lbtol - The log barrier algorithm terminates when the duality gap <= lbtol.
% Also the number of log barrier iterations is completely
% determined by lbtol.
% Default = 1e-3.
%
% mu - Factor by which to increase the barrier constant at each iteration.
% Default = 10.
%
% cgtol - Tolerance for Conjugate Gradients; ignored if A is a matrix.
% Default = 1e-8.
%
% cgmaxiter - Maximum number of iterations for Conjugate Gradients; ignored
% if A is a matrix.
% Default = 200.
%
% Written by: Justin Romberg Caltech
% Email: jrom@acm.caltech.edu
% Created: October 2005
%
function xp = l1qc_logbarrier(x0 A At b epsilon lbtol mu cgtol cgmaxiter)
largescale = isa(A‘function_handle‘);
if (nargin < 6) lbtol = 1e-3; end
if (nargin < 7) mu = 10; end
if (nargin < 8) cgtol = 1e-8; end
- 上一篇:matlab图像预处理的所有代码
- 下一篇:自己编写的WFCM算法
相关资源
- 压缩感知(Compressed Sensing CS)matlab代
- matlab图像压缩感知
- 图像分块BCS稀疏表示与重建
- 压缩感知之GPSR算法
- 贝叶斯压缩感知matlab源代码
- 压缩感知经典文章附程序
- 贝叶斯压缩感知matlab函数包
- 基于压缩感知的分布式视频编码框架
- 压缩感知磁共振成像
- 压缩感知CS最全matlab程序,二维三维图
- 基于MIG25的正交匹配追踪算法ISAR成像
- MATLAB实现二维信号压缩感知的实现
- 压缩感知算法的matlab仿真源码
- 沙威教授用小波变换当测量矩阵的O
- 压缩感知somp代码
- 压缩感知去噪
- 多维压缩感知中三维图像处理Matlab
- 压缩感知Matlab-代码与文档-l1magic-1.1
- 压缩感知的图像去噪
- 压缩感知稀疏度自适应匹配追踪算法
- 压缩感知MP重构算法的matlab实现
- 压缩感知重构算法基追踪(BP)
- Matlab单像素成像算法比较
- 图像稀疏表示matlab193095
- 压缩感知测量矩阵产生
- MATLAB用压缩感知恢复一维信号
- 压缩感知 贪婪追踪算法成功率的比较
- 压缩感知小波变换synsq_toolboxmatlab代码
- 压缩感知off grid代码论文见2013
- 压缩感知 OMP重构一维二维信号matlab仿
评论
共有 条评论