Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.44 KB | None | 0 0
  1. A = RA0132a0g1
  2. %figure;
  3. %x = A{:,1};
  4. %y = A{:,2};
  5. %plot(x,y);
  6.  
  7. drop1 = A([3385:6721],[1 2])
  8. drop2 = A([9729:13065],[1 2])
  9. drop3 = A([16000:19336],[1 2])
  10. drop4 = A([21989:25225],[1 2])
  11. drop5 = A([27858:31194],[1 2])
  12.  
  13. drop1 = drop1{:,:}
  14. drop2 = drop2{:,:}
  15. drop3 = drop3{:,:}
  16. drop4 = drop4{:,:}
  17. drop5 = drop5{:,:}
  18.  
  19. meanMatrix  = (drop1 + drop2 + drop3 +drop4 + drop5)/5;
  20.  
  21.  
  22. figure;
  23. x = meanMatrix{:,1};
  24. y = meanMatrix{:,2};
  25. plot(x,y);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement