Grid cell model with compression effects (Raudies & Hasselmo, 2015)

 Download zip file 
Help downloading and running models
Accession:194881
We present a model for compression of grid cell firing in modules to changes in barrier location.
Reference:
1 . Raudies F, Hasselmo ME (2015) Differences in Visual-Spatial Input May Underlie Different Compression Properties of Firing Fields for Grid Cell Modules in Medial Entorhinal Cortex. PLoS Comput Biol 11:e1004596 [PubMed]
Model Information (Click on a link to find other models with that property)
Model Type:
Brain Region(s)/Organism: Entorhinal cortex;
Cell Type(s):
Channel(s):
Gap Junctions:
Receptor(s):
Gene(s):
Transmitter(s):
Simulation Environment: MATLAB;
Model Concept(s): Grid cell;
Implementer(s): Raudies, Florian [florian.raudies at gmail.com];
function M = rotMatrixForAxisAngle(RotAxis,rotAngle)
% rotMatrixForAxisAngle
%   RotAxis     - 3D vector with the rotation axis.
%   rotAngle    - Scalar angle for rotation around the axis.
%
% RETURNS
%   M           - 4 x 4 rotation matrix.
%
% DESCRIPTION
%   Uses Rodrigues' rotation formula. More information see:
%   http://mathworld.wolfram.com/RodriguesRotationFormula.html.
%
%   Copyright (C) 2015  Florian Raudies, 05/02/2015, Palo Alto, CA.
%   License, GNU GPL, free software, without any warranty.
%

% Components of the rotation axis.
rx      = RotAxis(1);
ry      = RotAxis(2);
rz      = RotAxis(3);
% Cosine/sine of the rotation angle.
cAng    = cos(rotAngle);
sAng    = sin(rotAngle);
% Define the rotation matrix.
M = [cAng+rx^2*(1-cAng)     rx*ry*(1-cAng)-rz*sAng  ry*sAng+rx*rz*(1-cAng) 0; ...
     rz*sAng+rx*ry*(1-cAng) cAng+ry^2*(1-cAng)      -rx*sAng+ry*rz*(1-cAng) 0; ...
     -ry*sAng+rx*rz*(1-cAng) rx*sAng+ry*rz*(1-cAng)  cAng+rz^2*(1-cAng) 0; ...
     0 0 0 1];

Loading data, please wait...