Home > atmlab > scattering > Maxwell_Gar_mix_rule.m

Maxwell_Gar_mix_rule

PURPOSE ^

Maxwell_Gar_mix_rule Effective refractive index and effective density of

SYNOPSIS ^

function [n rho]= Maxwell_Gar_mix_rule(n1,n2,rho1,rho2,fraction2)

DESCRIPTION ^

Maxwell_Gar_mix_rule     Effective refractive index and effective density of 
                         a two-medias mixture.


                         This function uses the Maxwell Garnett formulation
                         to calculate the effective refractive index and
                         effective density of a mixture that includes two
                         medias. 
 
 FORMAT     [n rho] = Maxwell_Gar_mix_rule(n1,n2,rho1,rho2,fraction2)
        
 OUT  n            Complex dielectric constant      real or imaginary
      rho          Uniform density of the mixture   [Kg/m3]

 IN   n1           Matrix medium                    real or imaginary
      n2           Inclusion                        real or imaginary
      rh1          Density of matrix medium         [Kg/m3]
      rho2         Density of inclusion             [Kg/m3]
      fraction2    The volum fraction of the inclusion

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

Maxwell_Gar_mix_rule.m

SOURCE CODE ^

0001 %Maxwell_Gar_mix_rule     Effective refractive index and effective density of
0002 %                         a two-medias mixture.
0003 %
0004 %
0005 %                         This function uses the Maxwell Garnett formulation
0006 %                         to calculate the effective refractive index and
0007 %                         effective density of a mixture that includes two
0008 %                         medias.
0009 %
0010 % FORMAT     [n rho] = Maxwell_Gar_mix_rule(n1,n2,rho1,rho2,fraction2)
0011 %
0012 % OUT  n            Complex dielectric constant      real or imaginary
0013 %      rho          Uniform density of the mixture   [Kg/m3]
0014 %
0015 % IN   n1           Matrix medium                    real or imaginary
0016 %      n2           Inclusion                        real or imaginary
0017 %      rh1          Density of matrix medium         [Kg/m3]
0018 %      rho2         Density of inclusion             [Kg/m3]
0019 %      fraction2    The volum fraction of the inclusion
0020        
0021 
0022 % 2013-06-25        Created by Maryam Jamali
0023 
0024 
0025 function [n rho]= Maxwell_Gar_mix_rule(n1,n2,rho1,rho2,fraction2)
0026 
0027 emat=power(n1,2);
0028 einc=power(n2,2);
0029 
0030 eeff=emat+3.*fraction2.*emat.*(einc-emat)./(einc+2.*emat-(fraction2.*(einc-emat)));
0031 n=power(eeff,.5);
0032 
0033 rho=(1-fraction2)*rho1+fraction2*rho2;

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005