• API
• FAQ
• Tools
• Archive
SHARE
TWEET

# Untitled

a guest Sep 16th, 2019 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. A = RA0132a0g1
2.
3. drop1 = A([3385:6721],[1 2])
4. drop2 = A([9729:13065],[1 2])
5. drop3 = A([16000:19336],[1 2])
6. drop4 = A([21989:25325],[1 2])
7. drop5 = A([27858:31194],[1 2])
8.
9. drop1 = drop1{:,:}
10. drop2 = drop2{:,:}
11. drop3 = drop3{:,:}
12. drop4 = drop4{:,:}
13. drop5 = drop5{:,:}
14.
15. drop1mod = drop1;
16. drop2mod = drop2;
17. drop3mod = drop3;
18. drop4mod = drop4;
19. drop5mod = drop5;
20.
21. meanMatrix  = (drop1 + drop2 + drop3 + drop4 + drop5)/5;
22. meanMatrix2 = meanMatrix
23.
24. i = 3337;
25. j = 0;
26. H = zeros(i, 2);
27.
28. for r = 1:i
29.         meanMatrix2(r,1) = j;
30.         drop1mod(r,1) = j;
31.         drop2mod(r,1) = j;
32.         drop3mod(r,1) = j;
33.         drop4mod(r,1) = j;
34.         drop5mod(r,1) = j;
35.         j = j + 0.00005;
36. end
37.
38. figure;
39. x = meanMatrix2(:,1);
40. y = meanMatrix2(:,2);
41. p = plot(x,y, 'r')
42. p.LineWidth = 3;
43.
44. hold on
45.
46. y2 = drop1mod(:,2);
47. plot(x,y2)
48.
49. y3 = drop2mod(:,2);
50. plot(x,y3)
51.
52. y4 = drop3mod(:,2);
53. plot(x,y4)
54.
55. y5 = drop4mod(:,2);
56. plot(x,y5)
57.
58. y6 = drop5mod(:,2);
59. plot(x,y6)
60.
61. hold off
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

Top