⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 alpha.m

📁 通过计算晶体结构来确定其光谱分布
💻 M
字号:
function ret=alpha(rebxn,pw,cw,m)
%rebxn=reverse permittivity in half cell
%pw=pixel width
%cw=cell width
%m=order index of Fourier coefficient
t=size(rebxn);
M=max(t);
t0=pi*m*pw/cw;
if t0==0
    t1=1;
else
    t1=sin(t0)/t0;
end
t2=1:M;
t3=rebxn.*cos(t0*2*(t2-1))*t1;
ret=2*pw/cw*sum(t3);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -