[freqval, sfrval] = findfreq(dat, val, imax, fflag) find frequency for specified SFR value dat = SFR data n x 2, n x 4 or n x 5 array. First col. is frequency val = threshold SFR value, e.g. 0.1 imax = index of half-sampling frequency (normally n) fflag = 1 filter [1 1 1] SFR data = 0 no filter (default) freqval = frequency corresponding to val; (1 x ncolor) SFR corresponding to val (normally = val) (1 x ncolor) 3 July 2007 Copyright (c) Peter D. Burns 2007-2008