how to connect the upper points of a sine curve by making them a curve?

1 visualización (últimos 30 días)
i want to extract a curve like what is in red from the plot in blue how can i do that?
je veux extraire une courbe comme il est indiqué en rouge d'aprés la plot en bleu comment je peux aire ça?

Respuesta aceptada

Star Strider
Star Strider el 7 de Ag. de 2022
Use the envelope function (R2015b and later) in the Signal Processint Toolbox.
Perhaps:
envup = envelope(y);
The function has a number of options, so choose the one (probably 'peak') that gives the resullt you want.
.
  4 comentarios

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by