Problem 42688. Determine the full width at half max

Created by Alberto Comin in Community

Determine the full width at half max of a curve.

The full width at half maximum (FWHM) is a parameter which is used for describing the width of a peak.

It is defined as the distance between the two points at which the curve reaches half of its maximum value. For example if y = [0 3 6 3 0], the full width at half of y is 2.

The data in the test-set have only one positive peak. The test suite checks if the solution is correct within an error of 10%. Note that the input array may not necessarily contain an element equal to half of the maximum.

Solution Stats

28.85% Correct | 71.15% Incorrect
Last solution submitted on Apr 29, 2019

Problem Comments

Solution Comments

Recent Solvers14

Suggested Problems

More from this Author2