Advertisement
Guest User

Untitled

a guest
Feb 26th, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. area=0;
  2. for col=1:464
  3. temp=find(ds(:,col)==1);
  4. if temp
  5. area= area + (temp(end)-temp(1)+1);
  6. end
  7. end
  8. area;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement