how to draw rays?

4 次查看(过去 30 天)
bsd
bsd 2011-9-14
Hai,
I need to draw rays coming out of a lens after refraction. The rays should be drawn such that, after coming out of the lens, they seem to be going to infinity. How could I do this in matlab?
BSD

回答(1 个)

Jan
Jan 2011-9-14
Because the monitor has finite limits, you cannot draw a line to infinity. Therefore arrows are used for such cases. See e.g. FEX: ArrowPlotter, FEX: marrow3, FEX: arrow-m, FEX: 3d-arrow, FEX: Arrow3

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by