function y = checkIfequal(x)
for i = 1 : length(x(1:end))-1
if x(i)==x(i+1)
y=logical(1)
else
y=logical(0)
break
end
end
10125 Solvers
Back to basics 12 - Input Arguments
527 Solvers
Who has power to do everything in this world?
321 Solvers
622 Solvers
2763 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!