Question: Please answer all parts clearly and completely with matlab code I. Find (the formula for) FWHM of a Gaussian y-G(x) in terms of the parameters
I. Find (the formula for) FWHM of a Gaussian y-G(x) in terms of the parameters A, , w. The amplitude of y-G(x) is A, so need to solve for x the equation G(x)-A/2 But in general, only data values would be available, no formula, so finding FWHM would need to be done numerically. Think how FWHM can be found if we know only N points of a quantity y = F(x), (by reading the values from a data file, ie, from the pairs (xi , yi), i=1:N, which are stored in two arrays x and y. 2. Here is a strategy, write an algorithm for it, .Need to find the maximum value M (height of the peak), and the index where it occurs, call it ipeak, Set the cutoff level at half maximum: cut = M/2. Find the first xi (before ipeak, on the way up) at which yi2cut. Call it xLeft. Then find the first xi (after ipeak, on the way down) at which yi S cut. Call it xRight. . Then FWHM = xRight-Left
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
