Old Matlab code

I wrote these Matlab functions a while ago and put them on my (old) website. I am just putting them here too so that they are available. In the future I will post code on GitHub.

  • scatterheat. Matlab function to produce scatter heat plots.

     

  • csv2mat_mixed. Matlab function to import (Stata) data (numeric and string) from csv file into Matlab. Modification of csv2mat_numeric by Solomon Hsiang.

  • pctile. Matlab function to calculate the corresponding percentile of each element of a vector or matrix.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s