how to do ray tracing?
8 views (last 30 days)
Show older comments
Dear sir/madam,
I am working lens antennas. Here the incoming plane waves first enter the lens, and come out of the lens and then impinge on the antenna. I need to work out on the path traced by the wave or ray after passing through the lens and finally on the antenna. I also need to find the points at which the ray intersects on the lens at the time of intersection on the lens, and also at the time of leaving the lens. How could I do this ray tracing in matlab? Looking forward to hearing from you soon.
Thanking you, BSD
0 Comments
Answers (1)
Rick Rosson
on 30 Aug 2011
You can use MATLAB to perform the matrix computations that support ray tracing. For example, you can represent the lens in MATLAB as a 2 x 2 matrix, and each ray as a 2 x 1 column vector. You can then multiply the matrix representing the lens by the vector representing the incoming ray to compute the outgoing ray.
HTH.
Rick
1 Comment
Rohith Tammineni
on 20 Feb 2018
Is it possible to do the same with 3D-lens, Tracing the lens in 3d environment??
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!