没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
function [S,R,e,indx] = matchPurs(x,W)
% This function computes the projection of a given input vector or matrix
% onto a "dictionary" of other vectors or matrices using a matching pursuit
% algorithm.
%
% USAGES
% [S,R,e,indx] = matchPurs(x,W)
%
% INPUT
% x: An Mx1 or MxN array. This array synthesized using dictionary
% elements from matrix W.
% W: An MxN or MxNxP array of dictionary elements used to synthesize
% input x. If x is an Mx1 vector, W must be an MxN matrix. If x is
% an MxN array, W must be an MxNxP matrix containing the dictionary
% elements.
%
% OUTPUT
% S: The projection of each residual onto each dictionary element.
% R: The residual x - sum(W,dim), where dim is 2 if x is a vector and
% is 3 if x is a matrix.
% e: The projection coefficients.
% indx The index vector for the dictionary elements used in projections
%
% -------------------------------------------------------------------------
% TEST
% To ensure that the signal energy is preserved, the following relations
% should hold:
%
% Matrix Case:
%
% This function computes the projection of a given input vector or matrix
% onto a "dictionary" of other vectors or matrices using a matching pursuit
% algorithm.
%
% USAGES
% [S,R,e,indx] = matchPurs(x,W)
%
% INPUT
% x: An Mx1 or MxN array. This array synthesized using dictionary
% elements from matrix W.
% W: An MxN or MxNxP array of dictionary elements used to synthesize
% input x. If x is an Mx1 vector, W must be an MxN matrix. If x is
% an MxN array, W must be an MxNxP matrix containing the dictionary
% elements.
%
% OUTPUT
% S: The projection of each residual onto each dictionary element.
% R: The residual x - sum(W,dim), where dim is 2 if x is a vector and
% is 3 if x is a matrix.
% e: The projection coefficients.
% indx The index vector for the dictionary elements used in projections
%
% -------------------------------------------------------------------------
% TEST
% To ensure that the signal energy is preserved, the following relations
% should hold:
%
% Matrix Case:
%
资源评论
- mengqgong2012-12-14程序很简单,可以参考
- cmtxvxxhnt2017-12-14解决不了吧平均
yqc6219
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功