Advertisement
Guest User

m4

a guest
Mar 14th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.65 KB | None | 0 0
  1. Madhan R R:
  2. https://www.youtube.com/watch?v=EvuL5jyCHOw
  3.  
  4. rrmadhan97@gmail.com:
  5. https://www.youtube.com/watch?v=EvuL5jyCHOw
  6.  
  7. Madhan R R:
  8. https://pastebin.com/K1k2fu4Z
  9. rrmadhan97@gmail.com:
  10. https://pastebin.com/K1k2fu4Z
  11. Madhan R R:
  12.  
  13. rrmadhan97@gmail.com:
  14.  
  15. Madhan R R:
  16. annealing temperature hardness
  17. 20 84.5
  18. 220 82.75
  19. 280 61
  20. 340 56.33
  21. 400 48
  22. 470 47.5
  23. 500 35.5
  24. rrmadhan97@gmail.com:
  25. annealing temperature hardness
  26. 20 84.5
  27. 220 82.75
  28. 280 61
  29. 340 56.33
  30. 400 48
  31. 470 47.5
  32. 500 35.5
  33. Madhan R R:
  34. File Transfer: IMG_1196.JPG
  35. rrmadhan97@gmail.com:
  36. File Transfer: IMG_1196.JPG
  37. Madhan R R:
  38. File Transfer: IMG_1202.JPGFile Transfer: IMG_1203.JPG
  39. File Transfer: IMG_1202.JPGFile Transfer: IMG_1203.JPG
  40. rrmadhan97@gmail.com:
  41. File Transfer: IMG_1202.JPGFile Transfer: IMG_1203.JPG
  42. File Transfer: IMG_1202.JPGFile Transfer: IMG_1203.JPG
  43. Madhan R R:
  44. https://www.mathworks.com/help/matlab/ref/linespec.html
  45. rrmadhan97@gmail.com:
  46. https://www.mathworks.com/help/matlab/ref/linespec.html
  47. Madhan R R:
  48. File Transfer: 31ee33f8-fe79-4f74-82eb-ef1107a2c6b2.JPG
  49. File Transfer: 746913aa-9906-4d39-b2d1-7b07337c7eec.JPGFile Transfer: f14be791-4b07-4ed7-ad04-1e07f7a4e513.JPGFile Transfer: 1b680a69-e7bc-41fa-a08b-e810b2e2b4b9.JPG
  50. File Transfer: 746913aa-9906-4d39-b2d1-7b07337c7eec.JPGFile Transfer: f14be791-4b07-4ed7-ad04-1e07f7a4e513.JPGFile Transfer: 1b680a69-e7bc-41fa-a08b-e810b2e2b4b9.JPG
  51. File Transfer: 746913aa-9906-4d39-b2d1-7b07337c7eec.JPGFile Transfer: f14be791-4b07-4ed7-ad04-1e07f7a4e513.JPGFile Transfer: 1b680a69-e7bc-41fa-a08b-e810b2e2b4b9.JPG
  52. rrmadhan97@gmail.com:
  53. File Transfer: 746913aa-9906-4d39-b2d1-7b07337c7eec.JPGFile Transfer: f14be791-4b07-4ed7-ad04-1e07f7a4e513.JPGFile Transfer: 1b680a69-e7bc-41fa-a08b-e810b2e2b4b9.JPG
  54. File Transfer: 746913aa-9906-4d39-b2d1-7b07337c7eec.JPGFile Transfer: f14be791-4b07-4ed7-ad04-1e07f7a4e513.JPGFile Transfer: 1b680a69-e7bc-41fa-a08b-e810b2e2b4b9.JPG
  55. File Transfer: 746913aa-9906-4d39-b2d1-7b07337c7eec.JPGFile Transfer: f14be791-4b07-4ed7-ad04-1e07f7a4e513.JPGFile Transfer: 1b680a69-e7bc-41fa-a08b-e810b2e2b4b9.JPG
  56. Madhan R R:
  57. clear all
  58. close all
  59. clc
  60.  
  61. x=linspace(-2*pi, 2*pi, 1000);
  62. y=linspace(-4, 4, 1000);
  63. [X, Y]=meshgrid(x, y);
  64. Z=X.*cos(X).*abs(sin(Y));
  65.  
  66. figure(1)
  67. subplot(3, 3, [1, 2, 3])
  68. meshc(X, Y, Z)
  69. colorbar
  70. xlabel ('X')
  71. ylabel ('Y')
  72. zlabel ('Z')
  73.  
  74. subplot(3, 3, [4, 7])
  75. x=-2*pi;
  76. [X, Y]=meshgrid(x, y);
  77. Z=X.*cos(X).*abs(sin(Y));
  78.  
  79. plot(Y,Z, 'cp')
  80. xlabel('X')
  81. ylabel('Y')
  82. legend('Y1')
  83.  
  84. subplot(3, 3, [5, 8])
  85. x=pi/2;
  86. [X, Y]=meshgrid(x, y);
  87. Z=X.*cos(X).*abs(sin(Y));
  88.  
  89. plot(Y,Z, 'r*')
  90. xlabel('X')
  91. ylabel('Y')
  92. legend('Y2')
  93.  
  94. subplot(3, 3, [6, 9])
  95. x=2*pi;
  96. [X, Y]=meshgrid(x, y);
  97. Z=X.*cos(X).*abs(sin(Y));
  98.  
  99. plot(Y,Z, 'm^')
  100. xlabel('X')
  101. ylabel('Y')
  102. legend ('Y3')
  103.  
  104. x1=-2*pi;
  105. [X1, Y]=meshgrid(x1, y);
  106. z1=X1.*cos(X1).*abs(sin(Y));
  107.  
  108. x2=pi/2;
  109. [X2, Y]=meshgrid(x2, y);
  110. z2=X2.*cos(X2).*abs(sin(Y));
  111.  
  112. x3=2*pi
  113. [X3, Y]=meshgrid(x3, y);
  114. z3=X3.*cos(X3).*abs(sin(Y));
  115.  
  116. M=[y; z1'; z2'; z3'];
  117. save('Matrix_M', 'M');
  118. xlswrite('Matrix_M.xls', 'M', 'Subsequent columns of Matrix M');
  119.  
  120. %%
  121. clear all
  122. figure(2)
  123. load('Matrix_M.mat', 'M');
  124. subplot(1, 3, 1)
  125. plot(M(1,:), M(2,:))
  126. xlabel('X')
  127. ylabel('Y')
  128. legend('Y1')
  129.  
  130.  
  131. subplot(1, 3, 2)
  132. plot(M(1,:), M(3,:))
  133. xlabel('X')
  134. ylabel('Y')
  135. legend('Y2')
  136.  
  137. subplot(1, 3, 3)
  138. plot(M(1,:), M(4,:))
  139. xlabel('X')
  140. ylabel('Y')
  141. legend('Y3')
  142. rrmadhan97@gmail.com:
  143. clear all
  144. close all
  145. clc
  146.  
  147. x=linspace(-2*pi, 2*pi, 1000);
  148. y=linspace(-4, 4, 1000);
  149. [X, Y]=meshgrid(x, y);
  150. Z=X.*cos(X).*abs(sin(Y));
  151.  
  152. figure(1)
  153. subplot(3, 3, [1, 2, 3])
  154. meshc(X, Y, Z)
  155. colorbar
  156. xlabel ('X')
  157. ylabel ('Y')
  158. zlabel ('Z')
  159.  
  160. subplot(3, 3, [4, 7])
  161. x=-2*pi;
  162. [X, Y]=meshgrid(x, y);
  163. Z=X.*cos(X).*abs(sin(Y));
  164.  
  165. plot(Y,Z, 'cp')
  166. xlabel('X')
  167. ylabel('Y')
  168. legend('Y1')
  169.  
  170. subplot(3, 3, [5, 8])
  171. x=pi/2;
  172. [X, Y]=meshgrid(x, y);
  173. Z=X.*cos(X).*abs(sin(Y));
  174.  
  175. plot(Y,Z, 'r*')
  176. xlabel('X')
  177. ylabel('Y')
  178. legend('Y2')
  179.  
  180. subplot(3, 3, [6, 9])
  181. x=2*pi;
  182. [X, Y]=meshgrid(x, y);
  183. Z=X.*cos(X).*abs(sin(Y));
  184.  
  185. plot(Y,Z, 'm^')
  186. xlabel('X')
  187. ylabel('Y')
  188. legend ('Y3')
  189.  
  190. x1=-2*pi;
  191. [X1, Y]=meshgrid(x1, y);
  192. z1=X1.*cos(X1).*abs(sin(Y));
  193.  
  194. x2=pi/2;
  195. [X2, Y]=meshgrid(x2, y);
  196. z2=X2.*cos(X2).*abs(sin(Y));
  197.  
  198. x3=2*pi
  199. [X3, Y]=meshgrid(x3, y);
  200. z3=X3.*cos(X3).*abs(sin(Y));
  201.  
  202. M=[y; z1'; z2'; z3'];
  203. save('Matrix_M', 'M');
  204. xlswrite('Matrix_M.xls', 'M', 'Subsequent columns of Matrix M');
  205.  
  206. %%
  207. clear all
  208. figure(2)
  209. load('Matrix_M.mat', 'M');
  210. subplot(1, 3, 1)
  211. plot(M(1,:), M(2,:))
  212. xlabel('X')
  213. ylabel('Y')
  214. legend('Y1')
  215.  
  216.  
  217. subplot(1, 3, 2)
  218. plot(M(1,:), M(3,:))
  219. xlabel('X')
  220. ylabel('Y')
  221. legend('Y2')
  222.  
  223. subplot(1, 3, 3)
  224. plot(M(1,:), M(4,:))
  225. xlabel('X')
  226. ylabel('Y')
  227. legend('Y3')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement