Home > data-analysis > stats > cont > cont_hist_inevent.m

cont_hist_inevent

PURPOSE ^

Return the histogram of the cont data within given event.

SYNOPSIS ^

function [N,X] = cont_hist_inevent(cont_data, event_data, param)

DESCRIPTION ^

 Return the histogram of the cont data within given event.
   [N,X] = cont_hist_inevent(cont_data, event_data)
   The meanings of N and X are same with that of the MATLAB function
 HIST.

 See also: HIST

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [N,X] = cont_hist_inevent(cont_data, event_data, param)
0002 % Return the histogram of the cont data within given event.
0003 %   [N,X] = cont_hist_inevent(cont_data, event_data)
0004 %   The meanings of N and X are same with that of the MATLAB function
0005 % HIST.
0006 %
0007 % See also: HIST
0008 %
0009 data_in_event = get_data_in_event(cont_data, event_data);
0010 if exist('param', 'var')
0011     [N,X] = cont_hist(data_in_event, param);
0012 else
0013     N = cont_hist(data_in_event);
0014 end

Generated on Wed 24-May-2017 00:00:56 by m2html © 2005