compute-hdc: Highest density contour method in Matlab

A software to compute a highest density environmental contour.
269 Downloads
Updated 7 May 2020

# compute-hdc: Highest density contour method in Matlab
![Environmental contour](example-environmental-contour.jpg)

A software to compute a highest density environmental contour.

A highest density (HD) contour is one possible definition for an environmental
contour. This definition has been proposed by Haselsteiner, Ohlendorf,
Wosniok and Thoben (2017; http://doi.org/10.1016/j.coastaleng.2017.03.002)

## Download and use the repository
To download this repository and its submodules use
```console
git clone --recurse-submodules https://github.com/ahaselsteiner/compute-hdc.git
```

## Individual files and functionality
This software involves a couple of .m files for computing a HD contour:
* `computeHdc`: Computes the contour. It needs a probabilistic model,
an exceedance probability and a grid as its input.
* `computeHdcExampleWithCMA`: Cotains examples how to use `computeHdc`.
* `getProbabilisticModel`: Returns some sample probabilistic models,
which can be used with `computeHdc`.
* The other functions are subroutines needed for `computeHdc`.

The software also includes implementations of other environmental contour
methods, which use different definitions for the exceedance probablity
of an environmental contour:
* `computeIFormContour`: Computes an inverse first order reliablity method
(IFORM) contour.
* `computeDsContour`: Computes a direct sampling contour.
* `computeISormContour`: Computes an inverse second order reliablity method
(ISORM) contour.

Cite As

Andreas Haselsteiner (2024). compute-hdc: Highest density contour method in Matlab (https://github.com/ahaselsteiner/compute-hdc), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.2.4

* Fixed a bug that occured when a model used the lognormal distribution for X2 and it had no dependency function when IFORM or ISORM contours were calculated.

* Added tests for the IFORM and ISORM contours.

1.2.3

Fixed problems with model#9 that caused errors with the IFORM and ISORM example.

1.2.2

* Added implementations of IFORM, ISORM and Direct Sampling contour methods.

1.1.1

New features:
* Supports distributions that were estimatedusing kernel density estimation
* Supports the exponentiated Weibull distribution

1.0.2.0

* improved the calculation of the HDC based on the HDR for dimensions d > 2 (now a 3x3x3 and 3x3x3x3 structural element is used)
* included comments in getEnvironmentalPdfModel.m describing where users can input their own probabilistic model

1.0.1.0

added checks for Matlab toolboxes, added Octave support

1.0.0.2

added link to preprint of highest density contour publication

1.0.0.1

improved fileexchange description

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.