Mercurial > hg > map
view userProgramsASRforDummies/MAPwrap.m @ 38:c2204b18f4a2 tip
End nov big change
author | Ray Meddis <rmeddis@essex.ac.uk> |
---|---|
date | Mon, 28 Nov 2011 13:34:28 +0000 |
parents | |
children |
line wrap: on
line source
% This function wraps up whatever version of MAP I want to call. It is % implemented partly because I want to avoid messing with jobject too much % and mostly because I dont want to declare globals in my class. function [myANprobRateOutput, mydt, myBF] = MAPwrap(stimulus, sampleRate, BFlist, participant, AN_spikesOrProbability, paramChanges) global ANprobRateOutput dt BFlist % disp(20*log10(sqrt(mean(stimulus.^2))/20e-6)) MAP1_14(stimulus, sampleRate, BFlist, participant, AN_spikesOrProbability, paramChanges); % disp(20*log10(sqrt(mean(stimulus.^2))/20e-6)) myANprobRateOutput = ANprobRateOutput; mydt = dt; myBF = BFlist;