Clear Filters
Clear Filters

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

2 views (last 30 days)
having the attached data, how can we flip the points indicated in red (assumed as maximums) to become minimums of the same size?
  1 Comment
Dyuman Joshi
Dyuman Joshi on 1 Aug 2023
It's not clear what is the output you want to obtain. Can you visualize it via an example and show?

Sign in to comment.

Answers (1)

KSSV
KSSV on 1 Aug 2023
You can chnage the sign right?
plot(xup,-yup)
  1 Comment
Salma fathi
Salma fathi on 1 Aug 2023
Edited: Salma fathi on 1 Aug 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.

Sign in to comment.

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!