Curve fitting Fresnel equation

조회 수: 6 (최근 30일)
Devy Wardani
Devy Wardani 2019년 8월 5일
답변: Shashwat Bajpai 2019년 8월 9일
Hi, my friend and I are trying to obtain metal film thickness and dielectric constant through Fresnel equation based on surface plasmon resonance (SPR) experiment. The parameters that we got from experiment are the incident angle and reflectance. We used the curve fitting apps on MatLab. For the first approachment we got the result “Complex value computed by model function, fitting cannot continue. Try using or tightening upper and lower bounds on coefficients”. Then, we change the lower bounds and we got “NaN computed by model function, fitting cannot continue. Try using or tightening upper and lower bounds on coefficients”. Anyone in here has any suggestions about our problem? Thank you.
  댓글 수: 1
Torsten
Torsten 2019년 8월 5일
편집: Torsten 2019년 8월 5일
Anyone in here has any suggestions about our problem?
My guess is that you use mathematical operations that lead to complex numbers in your model equation (e.g. the power or the logarithm of a negative number).
If this is not the case, please show your code.

댓글을 달려면 로그인하십시오.

답변 (1개)

Shashwat Bajpai
Shashwat Bajpai 2019년 8월 9일
Following is a set of equations which calculates the reflectance for a S(Rs) and p(Rp) polarised incident wave.
According to my understanding you are getting complex values of reflectance because of the nature of these equations. Please take look at the values you receive for reflectance and try removing the complex part to use the curve fitting apps.
Hope this helps!

카테고리

Help CenterFile Exchange에서 MRI에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by