79 p = load(fullfile(fileparts(which(mc.Name)),
" neuro_input "));
80 this.
factor= sqrt(p.thetaP)*(1/p.scaleP);
82 [this.
b, this.
a] = butter(2,p.LOWPASSP*2/1000,
" low ");
103 rs = RandStream(
" mt19937ar ",
" Seed ",round(this.
RandSeed*mu_fibretype*100));
104 noiseSI = filter(this.
b,this.
a,rs.randn(1,length(this.
baseNoise)));
106 iNoise = this.
factor/std(noiseSI)*noiseSI;
117 u = zeros(2,length(t));
121 pos = round(mod(t,length(this.
baseNoise))+1);
logical DisableNoise
Set this to true to disable noisy signal output.
Matlab's base handle class (documentation generation substitute)
function setFibreType(mu_fibretype)
NoiseGenerator()
Loads the experimental data for motoneuron noise input.
NoiseGenerator: Models the noise input for the motoneuron model as done in the original script by Fra...
function u = getInput(double t)
The raw noise data is available in a sampling interval of one millisecond. As the global model unit i...