close all, clear all, clc a=[1 2 3]; b=[1 2 3]; c=[1 2 3]; if isequal(a,b) && isequal(b,c) display('ciao') end