Code covered by the BSD License  

Highlights from
Toolbox: X-ray Refraction of Matter

1.0

1.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 559.2 KB File ID: #6026

Toolbox: X-ray Refraction of Matter

by Zhang Jiang

 

09 Oct 2004 (Updated 13 Oct 2004)

A function to calculate material properties interacted with x-rays.

| Watch this File

File Information
Description

Function REFRAC returns material properties interacted with x-rays.

refrac('Formula',energy,massdensity) gives refraction in terms of disperion(delta) and absorption(beta), as well as critical angle and attenuation length corresponding to the input energy. Also a plot of these properties is given.

For example:
>>result=refrac('Si3N4',8.04778,3.44)
result =
        formula: 'Si3N4'
    massDensity: 3.44
 eletronDensity: 1.4767e+028
         energy: 8.0478
     wavelength: 1.5406e-010
     dispersion: 1.1164e-005
     absorption: 1.6477e-007
  criticalAngle: 0.27074
      attLength: 7.4403e-005

Unzip xrayrefraction.zip to matlabroot/toolbox and add
matlabroot/toolbox/xrayrefraction to the path search directories.

MATLAB release MATLAB 7 (R14)
Other requirements For Windows or Linux
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
12 Oct 2004 Zhang Jiang

Corrected bugs in calculating the electron density. The new version is coming in 2-3 days.

04 Jun 2008 ghg ghgh

bhhfgyg

02 Aug 2011 Shaik Ghouse Basha

Dear Sir,
I am getting error result=refrac('Si3N4',8.04778,3.44)
??? Error using ==> refrac
Element 'Si' is NOT in the table list.

when I am using the same example, which is default in programme itself. Please help me how to run this programme. awaiting for your reply.

Please login to add a comment or rating.
Updates
13 Oct 2004

Corrected bugs in calculating the electron density.

Tag Activity for this File
Tag Applied By Date/Time
chemistry Zhang Jiang 22 Oct 2008 07:32:48
physics Zhang Jiang 22 Oct 2008 07:32:48
xray Zhang Jiang 22 Oct 2008 07:32:48
refraction Zhang Jiang 22 Oct 2008 07:32:48
disperion Zhang Jiang 22 Oct 2008 07:32:48
absorption Zhang Jiang 22 Oct 2008 07:32:48
attenuation length Zhang Jiang 22 Oct 2008 07:32:49
critical angl Zhang Jiang 22 Oct 2008 07:32:49

Contact us at files@mathworks.com