Efficient generation of sparse matrices in Matlab
16th February, 2012
Sparse matrix storage is great, but the process for building a sparse matrices can consume a lot of memory. Here's how I dealt with the problem.
Sparse matrix storage is great, but the process for building a sparse matrices can consume a lot of memory. Here's how I dealt with the problem.
Progressive subdivision of a surface
Progressive subdivision of a surface
This matlab function sub-divides surface meshes, using the Loop subdivision algorithm. Because this algorithm is based on B-spline curve continuity, the surface is smoothed with only small distortions. The boundary of the surface is also left essentially undistorted.
A stack of two-photon data
A stack of two-photon data
Some two-photon imaging systems store data as three- (or more-) dimensional image stacks, stored in TIFF files. These are quite unwieldy if you need to process them in Matlab, since it is usually required that the entire stack is loaded into memory. Matlab does not offer an equivalent to memmapfile
for TIFF files, so I wrote one myself.
View from the hotel
View from the hotel
This year at Capo Caccia we will be thinking about how competition in cortex can explain responses to natural stimuli, and wondering what the anatomy of competitive networks look like.