I need to create a matlab script that will output location of silicon atoms in x,y,z coordinates in a simple cubic lattice with lattice constant a. Consider the silicon atom is located in (a/2,a/2,a/2) at each cell. Next step will be to plot the atoms. Input will be number of cells. Any idea how to do that?
MATLAB: Help needed to find location of atoms and visualize them
atomMATLAB
Best Answer