What is this line of code doing?

1 view (last 30 days)
Quazi Afnan Ahmed
Quazi Afnan Ahmed on 2 Apr 2022
Edited: VBBV on 2 Apr 2022
blob(blob == blob(i,j-1)) = blob(i-1,j);

Answers (1)

VBBV
VBBV on 2 Apr 2022
Edited: VBBV on 2 Apr 2022
Checking the value of blob(i,j-1)) in blob matrix and replacing it with this value blob(i-1,j).

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by