RIDGEMAP is the jRidges module of jLab.

 RIDGEMAP  Maps ridge quantities back onto the time series.
 
    X=RIDGEMAP(N,XR,IR) where IR is a ridge index and XR is a quantity 
    along the ridge, maps the values of XR to their correct row locations 
    in a time series of length N, and returns the result in the array X.
 
    If IR and XR contain L different ridges separated by NaNs, as output by
    RIDGEWALK, then X is N x L with the values of XR from each ridge in a 
    separate column. Values not specified by the IR are left as INFs. 
 
    [X1,X2,...,XM]=RIDGEMAP(N,X1R,X2R,...,XPR,IR) also works for any P
    different ridge quantities X1R--XPR.
 
    When using RIDGEWALK's joint ridges algorithm, in which some quantities
    have more than one column, they should be passed to RIDGEMAP 
    individually, for example [X1,X2]=RIDGEMAP(N,X(:,1),X(:,2),IR).
    __________________________________________________________________
 
    Collapsing 
 
    X=RIDGEMAP(...'collapse') combines values from all the ridges using
    a power-weighted mean.  Then X is a column vector of size N x 1.
    __________________________________________________________________
  
    Ridge multiplicity
 
    [...,MULT]=RIDGEMAP returns the ridge multiplicity MULT after all the
    expected output quantities.  MULT is a column vector with size N x 1.
  
    The ridge multiplicity is the number of ridges present at each time.     
    __________________________________________________________________
 
    See also RIDGEWALK.
 
    Usage:   x=ridgemap(N,xr,ir);
             [x,f]=ridgemap(N,xr,fr,ir);
             [x,f]=ridgemap(N,xr,fr,ir,'collapse');
             [x,mult]=ridgemap(N,xr,ir);
             [x,f,mult]=ridgemap(N,xr,fr,ir);
    __________________________________________________________________
    This is part of JLAB --- type 'help jlab' for more information
    (C) 2009--2016 J.M. Lilly --- type 'help jlab_license' for details

contents | allhelp | index