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)));