File Exchange

image thumbnail

Mie Electric Field Simulation for Spheres

version 1.1.0.0 (22.9 KB) by Nicholas Walter
Simulates electric field scattered by a sphere in 3D

11 Downloads

Updated 09 Apr 2018

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 nickmwalter@gmail.com.

Comments and Ratings (1)

mahtab taban

Updates

1.1.0.0

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

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: MatScat

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor