webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions | Variables
readDetection.m File Reference

Functions

 fclose (fid)
 

Variables

 function [d, t]
 
 d = fread(fid, inf, 'float')
 
 t = 0:(1 / fs):(length(d) * chunkSize - 1 / fs)
 

Function Documentation

◆ fclose()

fclose ( fid  )

Variable Documentation

◆ d

d = fread(fid, inf, 'float')

◆ function

function[d, t]
Initial value:
= readDetection(file, fs, chunkSize)
%[d, t] = readDetection(file, fs, chunkSize)
%
%Reads a detection signal from a DAT file.
%
%d: The detection signal.
%t: The respective time vector.
%
%file: The DAT file where the detection signal is stored in float format.
%fs: The signal sample rate in Hertz.
%chunkSize: The chunk size used for the detection in seconds.
fid = fopen(file)
EGLStreamKHR EGLint EGLint EGLint size
Definition: eglext.h:984
def chunk(list, chunkSize)
Definition: make-js-file-arrays.py:38
GLint GLint GLint GLsizei GLsizei GLenum format
Definition: gl2.h:403
Received complete frame timestamp frame type frame size at time
Definition: plotReceiveTrace.m:7
d
Definition: readDetection.m:13
s fs(1)
VoEFile * file
Definition: voe_cmd_test.cc:59
signal_with_thread_policy< SIGSLOT_DEFAULT_MT_POLICY, Args... > signal
Definition: sigslot.h:625
t
Definition: readDetection.m:15
GLboolean GLboolean GLboolean GLboolean a
Definition: gl2ext.h:306
bool is(Ref< ArgType > &source)
Definition: Ref.h:220

◆ t

t = 0:(1 / fs):(length(d) * chunkSize - 1 / fs)