Mercurial > hg > map
comparison 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 |
comparison
equal
deleted
inserted
replaced
37:771a643d5c29 | 38:c2204b18f4a2 |
---|---|
1 % This function wraps up whatever version of MAP I want to call. It is | |
2 % implemented partly because I want to avoid messing with jobject too much | |
3 % and mostly because I dont want to declare globals in my class. | |
4 | |
5 function [myANprobRateOutput, mydt, myBF] = MAPwrap(stimulus, sampleRate, BFlist, participant, AN_spikesOrProbability, paramChanges) | |
6 | |
7 | |
8 global ANprobRateOutput dt BFlist | |
9 % disp(20*log10(sqrt(mean(stimulus.^2))/20e-6)) | |
10 MAP1_14(stimulus, sampleRate, BFlist, participant, AN_spikesOrProbability, paramChanges); | |
11 % disp(20*log10(sqrt(mean(stimulus.^2))/20e-6)) | |
12 myANprobRateOutput = ANprobRateOutput; | |
13 mydt = dt; | |
14 myBF = BFlist; |