Info

此问题已关闭。 请重新打开它进行编辑或回答。

problem regarding matrix analysis

1 次查看(过去 30 天)
Rao
Rao 2012-8-9
关闭: MATLAB Answer Bot 2021-8-20
i want to write a code that will work as :
-> i have a matrix (normally 512*512) with any random values.
-> a threshold value.
-> i want to start a loop so it will check all the values . if a value is greater than the threshold value it will leave it without any change.
-> but if a value of a particular matrix entry is less than the threshold value than it will check the neighbouring entries of that entry and add it in the entry which has the greatest value and place a null value in the original entry.
please help me writing this code i dont have any idea how to find the greatest neighbouring entry
:S

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by