Finding peaks in signal

3 vues (au cours des 30 derniers jours)
Pradeep Machiraju
Pradeep Machiraju le 10 Sep 2020
Given some signal data sampled at 10Hz in .csv file and expected mean of the signal (a single value)
But the signal provided consists of desired signal(true signal) and an unknown bias characterized by this equation
y(t) = x(t) + at
How to remove the bias from the given y(t) data available in .csv file and find peaks without using the inbuilt findpeaks() function?
  1 commentaire
Walter Roberson
Walter Roberson le 12 Sep 2020
Pradeep Machiraju why do you now say that this is not appropriate for MATLAB Answers?
It is MATLAB related, and you did ask an actual question.

Connectez-vous pour commenter.

Réponses (2)

KSSV
KSSV le 10 Sep 2020

Steven Lord
Steven Lord le 10 Sep 2020
It doesn't seem like you want to locate peaks (which you could do using the islocalmax function) but you want to remove a trend. If that's the case see the detrend function.
  1 commentaire
Steven Lord
Steven Lord le 10 Sep 2020
Modifié(e) : Walter Roberson le 12 Sep 2020
Since this sounds like a homework assignment, please show us the code you've written to try to solve the problem and ask a specific question about where you're having difficulty and we may be able to provide some guidance.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the MATLAB Onramp tutorial ( https://www.mathworks.com/support/learn-with-matlab-tutorials.html ) to quickly learn the essentials of MATLAB.
If you aren't sure where to start because you're not familiar with the mathematics you'll need to solve the problem, I recommend asking your professor and/or teaching assistant for help.

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by