I have a cell array something like this…
if trueVar1='A' 6'B' 7'B' 7'A' 8'C' 10'A' 9'A' 3end
I want to pull out the values into a new variable which correspond only to 'A'
I.e generate this variable
if trueVar2='A' 6'A' 8'A' 9'A' 3end
Best Answer