RIDGEMULT Ridge multiplicity, the number of simultaneous ridges present. MULT=RIDGEMULT(IR) where IR is a column array index into wavelet ridge temporal locations, as output by RIDGEWALK, returns the number of ridges present at each time, MULT, which is the same size as IR. Following the convention of RIDGEWALK, IR may contain multiple ridges, which are separated by a NaN at the end of each ridge. [MULT,ZTOT]=RIDGEMULT(IR,ZHAT), where ZHAT is the estimated signal associated with the ridges, returns the total signal ZTOT. All input and output arguments are the same size. _______________________________________________________________________ Cell array input Often one has an array of K different time series, which are grouped into a cell array Z with one times series per cell. In this case, calling EDDYRIDGES leads to output fields with one ridge per cell. In the output of EDDYRIDGES, IR is now a cell array of indices into time locations, with one ridge per cell, KR denotes a cell array of indices into the K different time series, and ZHAT is a cell array of the corresponding estimated signals. Note that KR will take on one value along the entirety of any ridge. MULT=RIDGERECON(IR,KR) and [MULT,ZHAT]=RIDGERECON(IR,KR,ZHAT) also work in this case, where not MULT and ZHAT are also cell arrays. Usage: mult=ridgemult(ir); [mult,ztot]=ridgemult(ir,zhat); mult=ridgemult(ir,kr); [mult,ztot]=ridgemult(ir,kr,zhat); __________________________________________________________________ This is part of JLAB --- type 'help jlab' for more information (C) 2019--2021 J.M. Lilly --- type 'help jlab_license' for details