MATLAB: Syntax to used unmatched values in matlab

matchingnotmatchingposition;syntax

c = [1,4,3]
sci = 1
a = sci;
findsamemember = ismember[c,a]
output will be
1 0 0
I am trying to get the values that are not matching with a in further process of the program. That is, the value that should be used as output in my next syntax is 4 and 3 (or at position 2 and 3)
How should I proceed with it?

Best Answer

idx=ismember(c,a); % idx is logical index
c(~idx)*4 %multiply with whatever number you wish