Delete the line that are repeated
1 view (last 30 days)
Hello, I made a code that compares two strings and what I want to do is to delete from the old strings the lines that are in the new one.
tf = strcmp(seq1,seq2);
if tf == 1
disp('Ha entrado al if')
M_conjunt = [M_conjunt,seq1];
I want to delete the ones that are in M_conjunt from both seq1 and seq2. I do not know how to do it. Thank youu!!!!
Matt J on 19 Jul 2021
what I want to do is to delete from the old strings the lines that are in the new one.
oldstring=["dog"; "fish"; "cat";"zebra"]