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
All your base are belong to us
464 Solvers
Omit columns averages from a matrix
530 Solvers
Project Euler: Problem 10, Sum of Primes
725 Solvers
281 Solvers
222 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!