1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//Specification of Point Coordinates
clear;
clc;
printf("\tExample 3.5\n");
disp("Point coordinates for given positions of BCC cell are");
A=['Point_no','x_axis','y_axis','z_axis','Coordinates';
' 1','0','0','0','000';
' 2','1','0','0','100';
' 3','1','1','0','110';
' 4','0','1','0','010';
' 5','1/2','1/2','1/2','1/2 1/2 1/2';
' 6','0','0','1','001';
' 7','1','0','1','101';
' 8','1','1','1','111';
' 9','0','1','1','011'];
disp(A);
//End
|