packr.m (201B)
1 % PACKR.m Deletes all rows with missing values from a matrix 2 % Just like Gauss's packr. 3 4 function x = packr(x); 5 [n k] = size(x); 6 if k==1; 7 x(isnan(x))=[]; 8 else; 9 x(any(isnan(x)'),:) = []; 10 end;
reverse-shootingMatlab scripts for reverse shooting | |
| Log | Files | Refs | README |