hi i need to plot 2 circles

2 views (last 30 days)
ins
ins on 10 Oct 2016
Commented: ins on 11 Oct 2016
hi i need to plot a circle and plot another inside it.particles are randomly distributed in space of the axis.the radius of the inside circle is 'r'.the gap between the outside and inside circle is 'ϵ' and the area of the gap is 's'.now i need to find out the percentage of particles in 'ϵ' and calculate the value of 'π' using the formula ϵ/s=2πr using hit and miss monte carlo method.pls help.

Accepted Answer

KSSV
KSSV on 10 Oct 2016
YOu may refer the link:
doing the above in concentric circles is straight forward.
  1 Comment
ins
ins on 11 Oct 2016
hi, thank you very much for taking time to reply for my question.very much useful for me in understanding the coding.have a nice day!

Sign in to comment.

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!