How to plot a complex exponential equation
조회 수: 4 (최근 30일)
이전 댓글 표시
So, I am doing some work on photolithography and I need to plot a diffraction pattern with the following diffration pattern equation: H(X,Y)=exp(i*(pi*r^2)/(lambda*z)) lambda is 400nm, z is 10cm. I should get a set of concentric rings.
Any help would be appreciated.
댓글 수: 0
채택된 답변
Roger Stafford
2014년 2월 15일
You could use matlab's 'surf' function to do a 3D plot of either the real or the imaginary part of H, but not both at the same time. The only difference between the two is a matter of phase. Presumably you would get a pattern of waves in rings emanating from the origin, as though someone threw a rock into a lake. See the documentation for 'surf' to get the requirements on the inputs.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Optics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!