reverse-shooting

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

trimstr.m (175B)


      1 function x=trimstr(x);
      2 
      3 % function y=trimstr(x);
      4 %
      5 %  Deletes the spaces from a string x:
      6 %    x='Chad Jones   '  ==> trimstr(x) is 'ChadJones'
      7 
      8 blah=find(x==' ');
      9 x(blah)=[];