Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. Camel = numel(pulsestart)-1;
  2. CCamel = cell(1,Camel);
  3. for ni = 1:Camel
  4. Ccamel{ni} = pulsestart(ni):pulseend(ni);
  5. end
  6. laseridx = [];
  7. laseridx(:,2) = [Ccamel{:}];
  8.  
  9. laseridx(:,1) = Data(laseridx(:,2),1);
  10. laseridx(:,3) = Data(laseridx(:,2),3);
  11.  
  12. for ni = 1:Camel
  13. Ccamel{ni} = famousdex(ni,1):famousdex(ni,2);
  14. end
  15. snipidx = [];
  16. snipidx(:,2) = [Ccamel{:}];
  17.  
  18. snipidx(:,1) = Data(snipidx(:,2),1); % line with issue
  19. snipidx(:,3) = Data(snipidx(:,2),3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement