Skip to content

Instantly share code, notes, and snippets.

@greggroth
Created November 4, 2011 17:23
Show Gist options
  • Save greggroth/1339912 to your computer and use it in GitHub Desktop.
Save greggroth/1339912 to your computer and use it in GitHub Desktop.
hrf = spm_hrf(1);
box = [zeros(1,2) 1.9*ones(1,350), zeros(1,48)];
result = conv(box, hrf);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment