Area calculation for overlapping region
조회 수: 4 (최근 30일)
이전 댓글 표시
I have three overlapping network in a service area with Radius=600,200 and 200. the networks with Radius 200 are inner networks in the service area of radius 600. I use for loop to input radius , and then calculate area. But I don't know how to calculate
As=A1-(A2+A3). where
A1=pi*600^2,
A2=pi*200^2, and
A3=pi*200^2.
please help me
댓글 수: 0
채택된 답변
Image Analyst
2016년 4월 24일
That's the formula for circumference, not area! You need to square the radius
A1 = pi * 600^2
A2 = pi * 200^2
A3 = pi * 200^2
As = A1 - (A2 + A3)
추가 답변 (2개)
Khadija Khan
2016년 4월 24일
편집: Khadija Khan
2016년 4월 24일
댓글 수: 1
Image Analyst
2016년 4월 24일
Just like I showed you in my answer. If you want to save all of them, then give As an index:
As(loopIndex) = A1-(A2+A3);
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!