Skip to content

Instantly share code, notes, and snippets.

View alexstorer's full-sized avatar

Alex Storer alexstorer

View GitHub Profile
@alexstorer
alexstorer / distance_matrix.m
Created March 20, 2012 21:06 — forked from sjaffe/distance_matrix.m
Sonia's matlab code
%Generate neighbors and relations matrix for each MSA
%system(rename msa*.mat msa.mat);
%filename=strcat('\nsf\usr\S\sjaffe\Work\Segregation\Matlab\msa', str2int(job_instance))
missing=importdata('/nfs/home/S/sjaffe/Work/Segregation/Matlab/missing.txt');
%16 34
path(path, '/nfs/projects_nobackup/s/sjaffe')
path(path, '/nfs/home/S/sjaffe/Work/Segregation/Matlab')
cd '/nfs/projects_nobackup/s/sjaffe'
for file_num=10:52