Good evening,
To obtain an optimal discrimination capability between two peaks from a correlation operation between a stage and a target, I apply a bit mask that blocks certain frequencies,
I wonder because I have no idea, how to mask and on what basis?
Thank you in advance

1 个评论

Please clarify the difference between this question and your earlier one, http://www.mathworks.com/matlabcentral/answers/6479-classification-of-a-matrix-and-binary-mask

请先登录,再进行评论。

回答(1 个)

A = magic(5)
A = 5×5
17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 12 19 21 3 11 18 25 2 9
mask = logical(1-eye(5))
mask = 5×5 logical array
0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0
A(~mask) = NaN
A = 5×5
NaN 24 1 8 15 23 NaN 7 14 16 4 6 NaN 20 22 10 12 19 NaN 3 11 18 25 2 NaN

回答:

2021-12-27

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by