All odd numbers in x are added, while all even numers are subtracted from this.
example:
x = [1 2 3 4 5]; y = +(1+3+5)-(2+4) = 3
3876 Solvers
Extract leading non-zero digit
967 Solvers
Who has power to do everything in this world?
256 Solvers
Find out sum of all elements of given Matrix
271 Solvers
221 Solvers
Problem Tags