I have two 200 x 200 arrays of pixel values.
They are all negative values representing -dB values
All of the signal pixel values are >= -20.
All other pixel values (no signal) have been forced to -60.
I want to add both arrays so that only the signal pixels are added to have a summated signal intensity.
This relates to TFM imaging in Ultrasonics.
2 Comments
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/584213-how-to-add-certain-elements-of-an-array#comment_985187
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/584213-how-to-add-certain-elements-of-an-array#comment_985187
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/584213-how-to-add-certain-elements-of-an-array#comment_985424
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/584213-how-to-add-certain-elements-of-an-array#comment_985424
Sign in to comment.