Pages

Ads 468x60px

Sharing Ilmu Pengetahuan

ubah matriks

p=magic(10);
q=p;
for i=1:10
    for j=1:10
       if (p(i,j)>=40 & p(i,j)<=70)
           q(i,j)=0;
       else
           q(i,j)=1;
       end;
   end;
end;

No comments:

Post a Comment

Your comments are very valuable

 

Sample text

Sample Text

Sample Text