Finding a peak in .mat file......

6 views (last 30 days)
Murtaza Ali Khan
Murtaza Ali Khan on 26 Apr 2017
Answered: dpb on 26 Apr 2017
I am loading .mat file and then plotting it e.g. Data1 = load('spectrum 0A.mat'); plot(Data1.spec(:,1), Data1.spec(:,2))
Could anyone please let me know that how can I find peaks in my plot?
Thnx

Answers (1)

dpb
dpb on 26 Apr 2017
See
doc findpeaks % in Signal Processing Toolbox
If don't have (and can't easily acquire) SP TB, post back...

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!