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

📄 mie_tetascan.m

📁 MieMatlabMaetzler.zip 非常全功能的Mie散射程序 matlab
💻 M
字号:
function result = Mie_tetascan(m, x, nsteps)



% Computation and plot of Mie Power Scattering function for given 

% complex refractive-index ratio m=m'+im", size parameters x=k0*a, 

% according to Bohren and Huffman (1983) BEWI:TDD122

% C. M鋞zler, May 2002.



nsteps=nsteps;

m1=real(m); m2=imag(m);

nx=(1:nsteps); dteta=pi/(nsteps-1);

teta=(nx-1).*dteta;

    for j = 1:nsteps, 

        u=cos(teta(j));

        a(:,j)=Mie_S12(m,x,u);

        SL(j)= real(a(1,j)'*a(1,j));

        SR(j)= real(a(2,j)'*a(2,j));

    end;

y=[teta teta+pi;SL SR(nsteps:-1:1)]'; 



polar(y(:,1),y(:,2))

title(sprintf('Mie angular scattering: m=%g+%gi, x=%g',m1,m2,x));

xlabel('Scattering Angle')

result=y; 

⌨️ 快捷键说明

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