" title="function    nDof = dofdir2n(Dof,Dir)">dofdir2n</a>(RespDof,RespDir);
0094 Fdd=<a href="dofdir2n.html" class="code" title="function    nDof = dofdir2n(Dof,Dir)">dofdir2n</a>(RefDof,RefDir);
0095 <span class="comment">% Count unique ref and response dofs</span>
0096 NoRefs=length(unique(Fdd));
0097 NoResps=length(unique(Rdd));
0098 N=length(Data);
0099 
0100 <span class="comment">% Sort into 3D H matrix N-by-D-by-R, freqs, responses, by Refs</span>
0101 H=zeros(N,NoResps,NoRefs);              <span c