framepropertiesobjfun.m

来自「Sparse Signal Representation using Over」· M 代码 · 共 13 行

M
13
字号
function y=FramePropertiesObjFun(x,F,s); 
% FramePropertiesObjFun  Objective function for finding the x that is 
% most difficult to represent by a sparse approximation using the frame F
% y is 1-r where r is error. This function is used during optmazation in
% FrameProperties.m (fminunc.m function use this object function).

x=x(:);
temp=x'*x;
if temp>0; x=x/sqrt(temp); end;
w=VSfs(F,x,s);
r=x-F*w;
y=1-r'*r;
return

⌨️ 快捷键说明

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