probmax.m

From Spinach Documentation Wiki
Jump to: navigation, search

Finds the maximum point of a 3D probability density in a cube.

Syntax

    [x,y,z]=probmax(probden,ranges)

Arguments

    probden  - probability density cube with dimensions
               ordered as [X Y Z]

    ranges   - six-element vector giving axis extents
               as [xmin xmax ymin ymax zmin zmax]

Outputs

    [x,y,z]  - maximum point coordinates

See also

kpcs.m, ipcs.m


Version 2.1, authors: Ilya Kuprov