FindPeaks() of a 1024 x 116 Matrix

I have a matrix that I read into MatLab that is 116 spectra (columns) each being 1024 elements (rows). Each spectrum has a peak and I’m looking to determine the following information from each spectrum:

- Peak value

- Peak position

- Peak width at a set height, like 10% or 30% of the peak height. What I’d really like is to know the first and last x element of each peak

I’ve completed the Signal Processing Toolbox course and it didn’t go over the FindPeaks() function. Please, any help would be greatly appreciate. Even if it’s direction to a good source on the function. Thank you!

ANSWER

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

findpeaks only works on vector input; just use a loop and pass each column of your array in turn.

There’s a fair amount of background information and examples of using findpeaks in the documentation; I’m unaware of any other tutorial but the web if full of stuff.

I’d suggest “just try it” and see what you get. If the spectra are only one-peaked, it seems it could hardly go wrong.

ADDENDUM

SEE COMPLETE ANSWER CLICK THE LINK

https://www.matlabsolutions.com/resources/findpeaks-of-a-1024-x-116-matrix.php

--

--

--

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Chain of Responsibility Design Pattern

Applications of Object Oriented Programming

Landing Your First Coding Job

People of Golem: team Clay takes the spotlight

I am Omar Dumet, and I am a Software Engineer by trade.

Tezster dart v2.1.0 is here

TryHackMe: Internal

Why you should learn configuration blocks in TIBCO Spotfire

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Technical Source

Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

More from Medium

Convolution of two signal

ALL ABOUT UNSUPERVISED LEARNING

Finding Secondary Structure of RNA using Dynamic Programming over intervals

OMSCS — Graduate Algorithms (Tips from a TA)