File Exchange

image thumbnail

Vectorial ray-based diffraction integral (VRBDI)

version 1.7.0.0 (104 KB) by Birk Andreas
Vectorial ray-based diffraction integral (VRBDI) and simulation tools

5 Downloads

Updated 09 Sep 2016

View Version History

View License

Simulation of monochromatic light propagation in optical systems by combination of ray-tracing with a vectorial diffraction integral (See: B. Andreas, G. Mana, and C. Palmisano, "Vectorial ray-based diffraction integral," J. Opt. Soc. Am. A 32, 1403-1424 (2015)).

Cite As

Birk Andreas (2021). Vectorial ray-based diffraction integral (VRBDI) (https://www.mathworks.com/matlabcentral/fileexchange/52210-vectorial-ray-based-diffraction-integral-vrbdi), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Birk Andreas

@ Manish Kumar:

The problem is related to the use of the ParforProgMon.m. It uses the included Java code in the directory \java which shoud be a subdirectory of the directory of the caller. The addpath command enables it to find the Java code. I don't have this error. Can you check whether \java and its contents are present where they should be?

Manish Kumar

When trying to run one of the examples (#3 in my case) I get an error:
"Error using javaaddpath (line 48)
Too many input arguments."

Although I am looking into solving the error, I am posting it so that even author/others could look into it.

Other lines in error read as follows:
Error using javaaddpath (line 48)
Too many input arguments.

Error in pctRunOnAll (line 47)
evalin('base', command);

Error in VRBDIsw (line 156)
eval(['pctRunOnAll javaaddpath ' folder '\java']);

Error in Example3 (line 66)
[E2x,E2y,E2z,H2x,H2y,H2z,I2,Xg,Yg,Zg,N2]=VRBDIsw(P,E,[0 0 1],System,...

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

Inspired by: PARFOR Progress Monitor v2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

VRBDI/