I dislike odd numbers
Mostrar comentarios más antiguos
Can someone please upvote this question so that I have an even number of rep. points. I find even numbers much more pleasant to look at. Thanks!
14 comentarios
Sean de Wolski
el 14 de Dic. de 2017
Maybe we can get you four upvotes...
Rik
el 14 de Dic. de 2017
If I were really mean, I would upvote this as well ;)
Matt J
el 14 de Dic. de 2017
Matt J
el 25 de Abr. de 2018
Rik
el 25 de Abr. de 2018
Congratulations!
Stephan
el 26 de Abr. de 2018
sorry - 10005 ;-)
Rik
el 26 de Abr. de 2018
10004, so let's start the edit war with the upvotes ;)
Matt J
el 26 de Abr. de 2018
Bob Thompson
el 26 de Abr. de 2018
Editada: Bob Thompson
el 26 de Abr. de 2018
See, now this just feels like a challenge to make every number possible on this thread to be odd.
Catalytic
el 19 de Feb. de 2020
True. I've never understood how odd numbers became a thing.
Rik
el 19 de Feb. de 2020
As you can infer from this conversation: you get 1 point for a vote on your question, 2 for a vote on your answer, and 4 if your answer is accepted (unless it is your own question).
DGM
el 7 de Jul. de 2023
You got your even reputation ...

... but at what cost?
Respuestas (1)
Jan
el 26 de Abr. de 2018
Dear Matt J, simply redefine "odd".
function T = isOdd(X)
T = false(size(X));
end
Or modify the IEEE754 doubles:
function X = fixMyNumbers(X)
X = X - rem(fix(X), 2);
end
I'm sure we can ask MathWorks to implement this on the forum's server.
Or simply forget about the reputation number, because you have fancy and colorful badges now.
1 comentario
Matt J
el 26 de Abr. de 2018
Categorías
Más información sobre Historical Contests en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!