photo

D Deepak


Last seen: 3 years ago Active since 2021

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
create a vector of all the odds positive integers smaller than 100 in increasing order to save it into a variable
j=1; k=1; for i=1:100 if mod(i,2)==0 && i~=1 even(j)=i; j=j+1; else odd(k)=i; ...

3 years ago | 0