Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- area=0;
- for col=1:464
- temp=find(ds(:,col)==1);
- if temp
- area= area + (temp(end)-temp(1)+1);
- end
- end
- area;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement