Hi Mauricio,
The idea is to read each matrix nxm and  to replace the max value=1 and 
 min value=0 in case when max and min its the same value, the first receive 
1 and the second recive 0.


Em terça-feira, 6 de outubro de 2015 14:43:58 UTC-3, Rosangela Oliveira 
escreveu:
>
> Hi,
> How to replace the values in a matriz using maxval and minval?
> for example, I would change the max value in a line for o(zero) and the 
> max value for one.
>
>
> I'm trying something like this...
>
> ma=[0.4 0.3; 0.6 0.9;-0.6 15;0.5 0.5]for i1 = 1:size(ma,1)
>     max=findmax(ma[i1,:])
>     min=findmin(ma[i1,:])
>     end
>
>
> Thanks for helping.
>
>

Reply via email to