Several methods are available for estimating the average precipitation for a watershed from a few observations at rain gauges. The Thiessen polygon method involves forming polygons around the gauges, assigning the gauge’s observed precipitation to each point in the polygon, and computing the weighted average precipitation using the areas of the polygons as weights.
The polygons can be determined by connecting the gauges with lines, drawing the perpendicular bisectors of the connecting lines, and finding the intersections of the bisectors to form the polygons. An example is shown below.
Write a function that takes the precipitation amounts and the (x, y) coordinates of the boundary and the gauges and compute the average precipitation for the watershed.
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers5
Suggested Problems
-
633 Solvers
-
323 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
734 Solvers
-
Integer sequence - 2 : Kolakoski sequence
203 Solvers
-
Easy Sequences 2: Trigonometric function with integral input and output
45 Solvers
More from this Author328
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
I have a WIP solution that passes all tests but returns 298.45625 for test 3, rather than 299.094. Can you confirm your value is correct?
I modified the test. Try it now.
Thanks, Chris!