Are there any examples showing monte carlo simulation to find probability of line of sight for randomly distributed heights
Show older comments
monte carlo simulation
9 Comments
David Goodmanson
on 19 Feb 2021
Hi SG,
how do you define successful line of sight in this situation?
Sudeep Gyawali
on 19 Feb 2021
Sudeep Gyawali
on 19 Feb 2021
Sudeep Gyawali
on 19 Feb 2021
David Goodmanson
on 19 Feb 2021
Edited: David Goodmanson
on 19 Feb 2021
[moved from answer (mistake) to comment]
so the target is at ground level, and there are a certain number of objects in between, at random disances with random heights?
reply: yes
David Goodmanson
on 22 Feb 2021
if you put the car at the origin of coordinates and define the x and y distance to the uav as D and H respectively, the line of sight of course has slope H/D. Then let d_i be a set of distances from the car to buildings (the side of the building closest to the car), drawn from a suitable probability distribution. Similarly h_i is a set of corresponding heights, drawn from another suitable distribution. Then you can compare each ( h_i / d_i ) to H/D to see if line of sight is preserved. You might have to throw out some sets of d_i and try again if the difference of some of the d_i is smaller than the realistic spacing of buildings.
Sudeep Gyawali
on 26 Feb 2021
David Goodmanson
on 26 Feb 2021
Edited: David Goodmanson
on 26 Feb 2021
yes, although the distributions can be uniform but could be other distributions as well.
Uniform distributions make some sense, but the distribution of building heights is not uniform. If you search 'distribution of building heights in cities' and similar phrases, interesting articles pop up.
Sudeep Gyawali
on 1 Mar 2021
Answers (1)
Anmol Dhiman
on 22 Feb 2021
Edited: Anmol Dhiman
on 22 Feb 2021
0 votes
Hi Sudeep,
I could not find any specific examples as you mentioned but thought this link would be helpful to you.
Hope it helps
Categories
Find more on UAV 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!
