Skip to content

maybe there is a bug in "Denoising_Guided_EI.m"? #2

@tqyunwuxin

Description

@tqyunwuxin

"Y_hat(:,blk_arr(:,idx)) = Y_hat(:,blk_arr(:,idx)) + bsxfun(@plus, Dnew*alphanew, DC(:,idx));"
这个语句,当blk_arr(:,idx)的值相同时,Y_hat 会取出同一列,但是求和操作只起一次作用。

举例:a=zeros(3,3);b=ones(3,2);index=[1,1];
a(:,index)=a(:,index)+b;
a =
1 0 0
1 0 0
1 0 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions