# MATLAB: Show diference between two signals

signals

Hi, I have a telephone number save in a structure. This number is the correct number. In other structure i have a telephone number send and i want to compare the structures and show where the signals are diferent, i dont want to show the complet signals, i want to show only the error if they are not equal.
Thanks

a=[0 5 6 7 8]b=[0 5 6 8 8]if any(~(a==b)) %if any index is diferent show errordisp('The signals aren't equal')end`