photo

JAISAI KRISHNAN


Last seen: 2 years ago Active since 2022

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
Odd and even numbers
You can use bitwise 'AND' to check if the number is odd (or) even. vec = 1:1:10; oddCheck = bitand(vec,1);

2 years ago | 0