From: LlwydO Orton on
I have a waveform which is an amplitude over time, an example is:

-1.0350
-0.2500
0.5275
1.2425
1.8475
2.2950
2.5950
2.7725
2.8325
2.7600
2.5725
2.3325
2.0650
1.7950
1.5325
1.2425
0.9100
0.5600
0.2650
0.0300
-0.1350
-0.2350
-0.3325
-0.4300
-0.4925
-0.5050

I need to invert the values so the positive become negative and vice versa.

I sthere a simple function that I am not aware of to do this?

Thanks
From: Bruce Bowler on
On Wed, 02 Jun 2010 15:02:06 +0000, LlwydO Orton set fingers to keyboard
and typed:

> Is there a simple function that I am not aware of to do this?
>
> Thanks

You mean like

vector = -vector;


Bruce
From: LlwydO Orton on
That simple? Well my ego just took a kick to the gonads.

Thanks so much, worked a treat.