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
54672 Solvers
1837 Solvers
1803 Solvers
Determine Whether an array is empty
647 Solvers
283 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!