Ansys Learning Forum › Forums › Discuss Simulation › Photonics › Q analysis script understanding › Reply To: Q analysis script understanding
September 25, 2023 at 5:02 pm
Muhammad Danial Haziq Azizan
Subscriber
Then, what means by these codes to plot the resonant? why need to multiply 0.8 and 1.2?
# plot spectra
p1 = find(w,0.8*min(w(p)));
p2 = find(w,1.2*max(w(p)));