Reply To: combine and delete labels

Forums Forums General Questions combine and delete labels Reply To: combine and delete labels

#971
mike214
Participant

many thanks for your help!
Both ways worked well, except combining the labels

v.img(v.img==l1||v.img==l2)=l1; %combine labels l1 and l2
returns
Operands to the || and && operators must be convertible to logical scalar values

using only | instead of || does not combine the labels…

any idea ?
many thanks, mike