Guest User

Untitled

a guest
Jan 17th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. 5.1000 3.3000 1.7000 0.5000 1.0000
  2. 6.8000 3.2000 5.9000 2.3000 3.0000
  3. 5.0000 2.3000 3.3000 1.0000 2.0000
  4. 7.4000 2.8000 6.1000 1.9000 3.0000
  5. 6.5000 3.2000 5.1000 2.0000 3.0000
  6. 4.8000 3.4000 1.9000 0.2000 1.0000
  7. 4.9000 3.0000 1.4000 0.2000 1.0000
  8. 5.1000 3.8000 1.5000 0.3000 1.0000
  9. 5.1000 3.4000 1.5000 0.2000 1.0000
  10. 5.5000 2.6000 4.4000 1.2000 2.0000
  11.  
  12. M1 = [];
  13. M2 = [];
  14. M3 = [];
  15. for i=1:length(currentCell)
  16. if currentCell(1,5) == 1.00
  17. m3Data = currentCell(1:1,1:4);
  18. %how can I add m3Data to M1
  19. end
  20. end
  21.  
  22. M1 = M(find(M(:,5)==1),1:4)
Add Comment
Please, Sign In to add comment