File Exchange

image thumbnail

Mie Electric Field Simulation for Spheres

version 1.1 (22.9 KB) by

Simulates electric field scattered by a sphere in 3D



View License

This routine computes not only the Mie scattering coefficients, but also evaluates all three fields, incident, scattered and internal electric fields for a either a series of Cartesian planes corresponding to equally spaced values of phi, or a spherical volume.
This code performs these simulations over a series of wavenumbers and permittivities.

Original routine by Sarah Patch. This is a parallized version by Nick Walter, which writes the desired outputs to a .h5 or .mat file.

For questions, contact Nick Walter at

Comments and Ratings (0)



Added an example file to run, "runme_example.m", and a set of wavenumbers and permittivities to use as an example.

MATLAB Release
MATLAB 8.1 (R2013a)

Inspired by: MatScat

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video