2013/den13: del_gauss.m

File del_gauss.m, 330 bytes (added by jtapson, 5 years ago)

Gaussian synaptic filter with explicit delay

Line 
1function [ v] = del_gauss( del,length )
2
3ts=30;
4sigma=del/5;
5%alpha plus delay function
6%   Detailed explanation goes here
7v=zeros(length,1);    % output array
8              % response time constant
9for t=1:length
10    %v(t,1)=exp(-((t-del)^2));
11    v(t,1)=(1/(sigma*2.5))*exp(-((t-del)^2)/(2*sigma^2));
12end
13
14
15end
16