I have 4 50*50 matrices and I want to use if-else to get 4 sets of binary matrices. Now I if I want to apply a sequence of thresholds then am having problem.
Please see t