Mie Electric Field Simulation for Spheres
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.
Cite As
Nicholas Walter (2026). Mie Electric Field Simulation for Spheres (https://uk.mathworks.com/matlabcentral/fileexchange/66845-mie-electric-field-simulation-for-spheres), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: MatScat
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
