Community Profile

photo

Rain


Queen's University

Con actividad desde 2013

Estadísticas

  • First Answer

Ver insignias

Content Feed

Ver por

Respondida
How to replace the elements of a matrix using the conditions if,else?
Hi, Actually, there is a very simple way to do it: X=rand(10,10); X(X>0.5) = [-1]; Hope it is helpful.

más de 10 años hace | 22