Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Madhan R R:
- https://www.youtube.com/watch?v=EvuL5jyCHOw
- rrmadhan97@gmail.com:
- https://www.youtube.com/watch?v=EvuL5jyCHOw
- Madhan R R:
- https://pastebin.com/K1k2fu4Z
- rrmadhan97@gmail.com:
- https://pastebin.com/K1k2fu4Z
- Madhan R R:
- rrmadhan97@gmail.com:
- Madhan R R:
- annealing temperature hardness
- 20 84.5
- 220 82.75
- 280 61
- 340 56.33
- 400 48
- 470 47.5
- 500 35.5
- rrmadhan97@gmail.com:
- annealing temperature hardness
- 20 84.5
- 220 82.75
- 280 61
- 340 56.33
- 400 48
- 470 47.5
- 500 35.5
- Madhan R R:
- File Transfer: IMG_1196.JPG
- rrmadhan97@gmail.com:
- File Transfer: IMG_1196.JPG
- Madhan R R:
- File Transfer: IMG_1202.JPGFile Transfer: IMG_1203.JPG
- File Transfer: IMG_1202.JPGFile Transfer: IMG_1203.JPG
- rrmadhan97@gmail.com:
- File Transfer: IMG_1202.JPGFile Transfer: IMG_1203.JPG
- File Transfer: IMG_1202.JPGFile Transfer: IMG_1203.JPG
- Madhan R R:
- https://www.mathworks.com/help/matlab/ref/linespec.html
- rrmadhan97@gmail.com:
- https://www.mathworks.com/help/matlab/ref/linespec.html
- Madhan R R:
- File Transfer: 31ee33f8-fe79-4f74-82eb-ef1107a2c6b2.JPG
- File Transfer: 746913aa-9906-4d39-b2d1-7b07337c7eec.JPGFile Transfer: f14be791-4b07-4ed7-ad04-1e07f7a4e513.JPGFile Transfer: 1b680a69-e7bc-41fa-a08b-e810b2e2b4b9.JPG
- File Transfer: 746913aa-9906-4d39-b2d1-7b07337c7eec.JPGFile Transfer: f14be791-4b07-4ed7-ad04-1e07f7a4e513.JPGFile Transfer: 1b680a69-e7bc-41fa-a08b-e810b2e2b4b9.JPG
- File Transfer: 746913aa-9906-4d39-b2d1-7b07337c7eec.JPGFile Transfer: f14be791-4b07-4ed7-ad04-1e07f7a4e513.JPGFile Transfer: 1b680a69-e7bc-41fa-a08b-e810b2e2b4b9.JPG
- rrmadhan97@gmail.com:
- File Transfer: 746913aa-9906-4d39-b2d1-7b07337c7eec.JPGFile Transfer: f14be791-4b07-4ed7-ad04-1e07f7a4e513.JPGFile Transfer: 1b680a69-e7bc-41fa-a08b-e810b2e2b4b9.JPG
- File Transfer: 746913aa-9906-4d39-b2d1-7b07337c7eec.JPGFile Transfer: f14be791-4b07-4ed7-ad04-1e07f7a4e513.JPGFile Transfer: 1b680a69-e7bc-41fa-a08b-e810b2e2b4b9.JPG
- File Transfer: 746913aa-9906-4d39-b2d1-7b07337c7eec.JPGFile Transfer: f14be791-4b07-4ed7-ad04-1e07f7a4e513.JPGFile Transfer: 1b680a69-e7bc-41fa-a08b-e810b2e2b4b9.JPG
- Madhan R R:
- clear all
- close all
- clc
- x=linspace(-2*pi, 2*pi, 1000);
- y=linspace(-4, 4, 1000);
- [X, Y]=meshgrid(x, y);
- Z=X.*cos(X).*abs(sin(Y));
- figure(1)
- subplot(3, 3, [1, 2, 3])
- meshc(X, Y, Z)
- colorbar
- xlabel ('X')
- ylabel ('Y')
- zlabel ('Z')
- subplot(3, 3, [4, 7])
- x=-2*pi;
- [X, Y]=meshgrid(x, y);
- Z=X.*cos(X).*abs(sin(Y));
- plot(Y,Z, 'cp')
- xlabel('X')
- ylabel('Y')
- legend('Y1')
- subplot(3, 3, [5, 8])
- x=pi/2;
- [X, Y]=meshgrid(x, y);
- Z=X.*cos(X).*abs(sin(Y));
- plot(Y,Z, 'r*')
- xlabel('X')
- ylabel('Y')
- legend('Y2')
- subplot(3, 3, [6, 9])
- x=2*pi;
- [X, Y]=meshgrid(x, y);
- Z=X.*cos(X).*abs(sin(Y));
- plot(Y,Z, 'm^')
- xlabel('X')
- ylabel('Y')
- legend ('Y3')
- x1=-2*pi;
- [X1, Y]=meshgrid(x1, y);
- z1=X1.*cos(X1).*abs(sin(Y));
- x2=pi/2;
- [X2, Y]=meshgrid(x2, y);
- z2=X2.*cos(X2).*abs(sin(Y));
- x3=2*pi
- [X3, Y]=meshgrid(x3, y);
- z3=X3.*cos(X3).*abs(sin(Y));
- M=[y; z1'; z2'; z3'];
- save('Matrix_M', 'M');
- xlswrite('Matrix_M.xls', 'M', 'Subsequent columns of Matrix M');
- %%
- clear all
- figure(2)
- load('Matrix_M.mat', 'M');
- subplot(1, 3, 1)
- plot(M(1,:), M(2,:))
- xlabel('X')
- ylabel('Y')
- legend('Y1')
- subplot(1, 3, 2)
- plot(M(1,:), M(3,:))
- xlabel('X')
- ylabel('Y')
- legend('Y2')
- subplot(1, 3, 3)
- plot(M(1,:), M(4,:))
- xlabel('X')
- ylabel('Y')
- legend('Y3')
- rrmadhan97@gmail.com:
- clear all
- close all
- clc
- x=linspace(-2*pi, 2*pi, 1000);
- y=linspace(-4, 4, 1000);
- [X, Y]=meshgrid(x, y);
- Z=X.*cos(X).*abs(sin(Y));
- figure(1)
- subplot(3, 3, [1, 2, 3])
- meshc(X, Y, Z)
- colorbar
- xlabel ('X')
- ylabel ('Y')
- zlabel ('Z')
- subplot(3, 3, [4, 7])
- x=-2*pi;
- [X, Y]=meshgrid(x, y);
- Z=X.*cos(X).*abs(sin(Y));
- plot(Y,Z, 'cp')
- xlabel('X')
- ylabel('Y')
- legend('Y1')
- subplot(3, 3, [5, 8])
- x=pi/2;
- [X, Y]=meshgrid(x, y);
- Z=X.*cos(X).*abs(sin(Y));
- plot(Y,Z, 'r*')
- xlabel('X')
- ylabel('Y')
- legend('Y2')
- subplot(3, 3, [6, 9])
- x=2*pi;
- [X, Y]=meshgrid(x, y);
- Z=X.*cos(X).*abs(sin(Y));
- plot(Y,Z, 'm^')
- xlabel('X')
- ylabel('Y')
- legend ('Y3')
- x1=-2*pi;
- [X1, Y]=meshgrid(x1, y);
- z1=X1.*cos(X1).*abs(sin(Y));
- x2=pi/2;
- [X2, Y]=meshgrid(x2, y);
- z2=X2.*cos(X2).*abs(sin(Y));
- x3=2*pi
- [X3, Y]=meshgrid(x3, y);
- z3=X3.*cos(X3).*abs(sin(Y));
- M=[y; z1'; z2'; z3'];
- save('Matrix_M', 'M');
- xlswrite('Matrix_M.xls', 'M', 'Subsequent columns of Matrix M');
- %%
- clear all
- figure(2)
- load('Matrix_M.mat', 'M');
- subplot(1, 3, 1)
- plot(M(1,:), M(2,:))
- xlabel('X')
- ylabel('Y')
- legend('Y1')
- subplot(1, 3, 2)
- plot(M(1,:), M(3,:))
- xlabel('X')
- ylabel('Y')
- legend('Y2')
- subplot(1, 3, 3)
- plot(M(1,:), M(4,:))
- xlabel('X')
- ylabel('Y')
- legend('Y3')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement