11-27-2019 03:31 AM
hi GerdW,
by inverting(reverse) the graph i mean to say that graph sholud look like as image.the graph which is shown in the image is opposite to that of image.
best regards,
MAC
11-27-2019 03:34 AM
@MAC08 wrote:
hi GerdW,
i want to invert the graph. how i can do that?
i need some suggestion.
best regards,
MAC
Get the maximum and minimum, subtract the minimum from the signal, then subtract the result from the maximum.
[inv] = max([org]) - ( [org] - min([org]) )
or of course:
[inv] = max([org]) +min([org]) - [org]
sometimes however a simple negate works:
[inv] = neg([org])
It does depend on how you define "invert". It could even mean "reverse", inverting left and right (use 'reverse 1D array')...
11-27-2019 04:16 AM