Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Changing value in the mat

Hello, I have a mat format Mat data = [ 0,0,0,0,255,0,0,255,0,0,0,255,0,0,0,255,0,0,0,0,255,0,0,255,255,255.........]

I would like to change the value of 255 to 1 for the Mat. Is there any instructions that I can use to change the value in a faster way?