-1

I have a 2D graph that I have created of frequency vs. amplitude as a way to characterize a signal. I am trying to figure out how to write script that takes the WAV I have already imported into MATLAB, and figure out the peaks, the troughs, and the distance between each one. Can someone please help me with some general guidelines, not a complete code, for a script that will help me do this?

Stewie Griffin
  • 14,889
  • 11
  • 39
  • 70

1 Answers1

2

There are several submissions on the file exchange for this. For instance this one, seems applicable (I haven't tested it myself, but it looks good).

Try to search a bit on the file exchange and you will likely find something you can use.

You can also have a look at this question, and this one.

Community
  • 1
  • 1
Stewie Griffin
  • 14,889
  • 11
  • 39
  • 70