I have the following expression in my code:
A(B>TH) = 1 ;
A and B are matrices with the same size, TH is a float threshold value.
The A matrix I get from my matlab code is different from the one I get after running the code created by matlab coder.
I also checked B and TH, they are the same in both codes.
Does anyone know what could be the problem?