reverse-shooting

Matlab scripts for reverse shooting
Log | Files | Refs | README

selif.m (202B)


      1 % SELIF.m    y = selif(y,s)
      2 %	   y = NxK,  s=Nx1
      3 %	Mirrors the Gauss SELIF function -- selects the ROWS of y that
      4 %	are indicated by a one in the row of s.
      5 
      6 function y = selif(y,s);
      7 q=(s~=0);
      8 y=y(q,:);