Calculating and plotting FWHM
Ältere Kommentare anzeigen
Hi everyone. I've this code to calculate the FWHM.
x=eVcIpicco;
y=ckxfitIpicco;
maxy=max(y);
f=find(y==maxy);
cp=x(f);
y1=y./maxy;
ydatawr(:,1)=y1;
ydatawr(:,2)=x;
newFit1=find(x>=cp);
newFit2=find(x<cp);
ydatawr2=ydatawr(min(newFit1):max(newFit1),:);
ydatawr3=ydatawr(min(newFit2):max(newFit2),:);
sp1=spline(ydatawr2(:,1),ydatawr2(:,2),0.5);
sp2=spline(ydatawr3(:,1),ydatawr3(:,2),0.5);
sigma_graf=sp1-sp2;
Does someone know how to also plot the FWHM?
I wanna get somthing like this

Thank you
Antworten (1)
Fc Fc
am 14 Apr. 2018
0 Stimmen
3 Kommentare
Walter Roberson
am 14 Apr. 2018
I do not understand what is different between your question and the other 79 questions that mention FWHM ? I don't get the impression that you examined them .
Walter Roberson
am 14 Apr. 2018
Is the question about finding the FWHM or is it about plotting it once found?
Fc Fc
am 15 Apr. 2018
Kategorien
Mehr zu Annotations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!