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
6316 Solvers
627 Solvers
Getting the row and column location from a matrix
244 Solvers
357 Solvers
Flip the vector from right to left
2853 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!