-
Notifications
You must be signed in to change notification settings - Fork 1
/
PrintResults.m
25 lines (22 loc) · 1.04 KB
/
PrintResults.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Print Results %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%display('')
display('===================================================')
display('Intersubband Results:')
display('===================================================')
%display('')
for i=1:length(Ec)
for j=1:length(Ec)
if j>i
display(strcat(...
'e',num2str(i),'-e',num2str(j),' = ',num2str( Ec(j)-Ec(i),'%.3f' ),'eV; z'...
,num2str(i),'-',num2str(j),' = ',num2str( z_dipole_c(i,j)*1e9,'%.3f' ),'nm; f'...
,num2str(i),'-',num2str(j),' = ',num2str( f_dipole_c(i,j),'%.3f' ) ...
) )
end
end
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%