%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% clear all;clc; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % haemodynamic response function: BOLD signal has stereotyped shape every % time a stimulus hits it. We usually use the spm_hrf.m in S…