The aim is to create a matrix (C_n) from two different matrices (M) and (t_e1) using a equality condition. I am trying to use the following code to do this. However,it gives me output as a matrix with zeros.
for i= 1:length(int)
What am I doing wrong in the above code?? Also, is there a better way to do get the required output (not using loops)?