flipping a maximum point to become a minimum of the same size

2 vues (au cours des 30 derniers jours)
Salma fathi
Salma fathi le 1 Août 2023
Commenté : Dyuman Joshi le 1 Août 2023
having the attached data, how can we flip the points indicated in red (assumed as maximums) to become minimums of the same size?
  1 commentaire
Dyuman Joshi
Dyuman Joshi le 1 Août 2023
It's not clear what is the output you want to obtain. Can you visualize it via an example and show?

Connectez-vous pour commenter.

Réponses (1)

KSSV
KSSV le 1 Août 2023
You can chnage the sign right?
plot(xup,-yup)
  1 commentaire
Salma fathi
Salma fathi le 1 Août 2023
Modifié(e) : Salma fathi le 1 Août 2023
Thank for the swift reply. I am not asking how to flip them around the x or the y axis. I am trying to find away to flip each maximum peak for eaxmple 180 degrees around itself, for it to become a minimum. Or to have the peak directed towards the other side.

Connectez-vous pour commenter.

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by