Problem 57605. Determine flows of given probability using empirical frequency analysis
Write a function that takes as input n observations of peak streamflow
and exceedance probabilities
expressed as percentages and returns the flows
corresponding to the probabilities.
Use the empirical method of frequency analysis. Sort the observed flows in decreasing order and assign a rank m (e.g., the highest flow has
). If a flow occurs multiple times, assign to that flow the average of the ranks attached to the multiple occurrences. Then compute the exceedance probabilities (in percent) with
. Compute the flows corresponding to the requested exceedance probabilities with linear interpolation and return NaN for any probabilities that fall outside the range.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers5
Suggested Problems
-
Is my wife right? Now with even more wrong husband
1325 Solvers
-
Similar Triangles - find the height of the tree
448 Solvers
-
When can one be the Life Member of the IEEE?
74 Solvers
-
Remove entire row and column in the matrix containing the input values
412 Solvers
-
1092 Solvers
More from this Author292
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!