simulatePseudoDeterm¶
- simulatePseudoDeterm(ss, stimes, rand_seed)¶
simulatePseudoDeterm generates a simulation of a multi-peak state-space model except with parameters following randomly determined patterns: cosines (40%), saw-tooths (20%), steps (30%), and exponential cusps (10%).
- INPUTS:
- ss – StateSpaceMultiPeak object containing the peaks models,
parameter bounds, observation noise covariance, etc. Required.
- stimes – vector (1 x N) of times at which the simulation is
evaluated. Default is 0.005*(1:500).
rand_seed – random seed to recreate simulation. Default is empty [].
- OUTPUTS:
Y – simulated spectrogram matrix (dim_Y x N) Xbar – matrix (dim_X x N) of simulated unbounded states alpha – indicator matrix (num_combos x N) of On/Off-combination is_on – indicator matrix (num_peaks x N) of On/Off-peaks V – simulated observation noise matrix (dim_Y x N) comps – array (num_peaks x dim_Y x N) of simulated individual peaks
Created by Patrick Stokes