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
320 Solvers
394 Solvers
Switch matrix to a column vector
265 Solvers
277 Solvers
Convert given decimal number to binary number.
671 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!