SPR XPhase

Computes reflectance (Rp/Rs) for surface plasmon resonance on a system of thin films

You are now following this Submission

Computes ratio of p-polarized reflectance to s-polarized reflectance (Rp/Rs) for surface plasmon resonance experiments. Uses multilayer matrix transfer method for a system of thin films. Works for any number of layers over any angle and frequency range. Includes data for some common substrates and conductors.

Default behaviour is so-called "fourier-transform" SPR, which outputs an entire frequency-intensity spectrum at each angle, but can easily be changed to "laser" SPR which scans over angles at a fixed frequency.

To use, open input_xphase.m in Matlab and follow the instructions inside. Once it runs, your reflectance data Rp/Rs is stored in variable R_mat, which you can plot in your favorite plotting program.

Cite As

Joshua Guske (2026). SPR XPhase (https://www.mathworks.com/matlabcentral/fileexchange/41090-spr-xphase), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Improved description. Files not changed.

1.0.0.0