Code covered by the BSD License  

Highlights from
Data Browser

image thumbnail
from Data Browser by Phil Larimer
A utility to browse data files that involve one or more channels of data over time.

calcBurstProb(varargin)
function outText = calcBurstProb(varargin)
if ~nargin
    outText = 'Bursting Probability';
else
    events = getappdata(gca, 'events');

    outValue = burstingProbability(events(varargin{5}).data');
    set(get(gca, 'userdata'), 'string', num2str(outValue));
end

Contact us at files@mathworks.com