Info/Knowledge Bits
... bits and pieces of information that I pick up on my path as a researcher
Tuesday, June 29, 2010
Check even or odd in MATLAB
if mod(x,2) == 0
%number is even
else
%number is odd
end
Link:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/243091
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment