Tag: MATLAB

Rename variables in MATLAB

MATLAB version R2011b has just been released. The new format for error messages is not as mind blowing as you might have heard. However, there’s one cute little function that I’ve…



MATLAB Mobile 2.0: cloud computing

MATLAB Mobile is a way to use MATLAB from an iOS device. It’s cute, but a bit odd, because you used to need to have MATLAB running on your own server in order to…



MATLAB Menagerie

There are several MATLAB-related items to post, but individually they don’t amount to much, so I’ll just put them…



More MATLAB code for 2p scope design

In the last post, I mentioned how the “minification” factor (the diameter of the PMT detector divided by the diameter or the…



MATLAB code for designing collection optics for 2p scopes

The Tsai book chapter from Ron Frostig’s CRC book is a great resource for building your own 2p microscope. In section 3.3.7.2,…



Outfitting a lab on the cheap

A friend of mine does a lot of molecular biology and keeps an incubator at home so she can run a reaction and stop it some time at night without having to make a special…



TIFFs in MATLAB

MATLAB uses the open source library libtiff to write TIFF files, or they did the last time I asked. I work with multipage TIFFs a lot, and I find MATLAB is not very fast…



Colorblind-proof two color scheme

The usual color scheme for showing co-localization is to overlay a red image and a green image and have the yellow portions show the sites of co-localization. This is problematic since red-green colorblind people cannot…