/* * fgcore.h * Filtered Gaussian source (core C-code). * Shared by MATLAB C-MEX function, SIMULINK C-MEX S-Function, and TLC. * * Copyright 1996-2005 The MathWorks, Inc. * $Revision: 1.1.6.1 $ $Date: 2004/12/10 19:23:07 $ */ #ifndef __FGCORE_H__ #define __FGCORE_H__ #include "complexops.h" void corefiltgaussian( cArray y, /* Output */ int_T Nout, /* Number of samples to output per channel */ real_T *h, /* Filter impulse response */ cArray u, /* State matrix */ real_T *WGNState, /* White Gaussian noise generator state */ cArray lastOutputs, /* Last two outputs */ cArray w, /* WGN (allocated storage) */ real64_T *w2, /* WGN (temp. alloc. storage) */ int_T NS, /* Number of samples for y (per channel) */ int_T NC, /* Number of channels */ int_T lengthIR /* Length of impulse response */ ); #endif /* [EOF] */