Iterative method to extract refractive index value

2 views (last 30 days)
Hello,
I am new to Matlab, so need some help here.
My equation is a complex transfer function :
H(w) = (4*ns*n0/(ns*n0)^2)*exp(-j(ns-n0)*w*l/c)
I have to extract the value of ns
H(w) is my transfer function = fft(sample)/fft(reference)
n0 is 1 (refractive index of air)
l is the length of the material
c is the speed of light
As far as my basic understanding goes, this could be solved by estimating a range for ns and then running some iterations to reach to the actual value of ns. However, I am confused with the coding part.

Answers (0)

Community Treasure Hunt

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

Start Hunting!