Here simply if i want to write the matlab code to find the fwhm (up to 4 or 5 digits) of like following curve, i have to find x values difference corresponding to average value of y. Since x values at average y do not lie at y data points hence i required interpolate values of x. Pls help regarding to this.
for example take below plot and data
clear all clcy=[];for x=-4:5;z=x.^2;y=[y z];endy;x=-4:5;plot(x,y)
Here i have to find x values difference at y=12.5 to determine the fwhm ,of respective curve. How can i write in code?
Thank you.
Best Answer