D Deepak
Followers: 0 Following: 0
Feeds
已回答
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; ...
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 前 | 0