Hi,
In ADS data display, I've got data that is function of both freq and bias (ie data[freq,bias]). At each bias point, I want to subtract the data at freq=0 from the rest of the freq points.
ie dataNew=data-data[::,0]
But data[::,0] has different dimensions to data[::,::] so this gives an error. Is it possible to create a new array that copies the data at freq=0 to all the other frequencies at each bias, so the above subtraction can be carried out?
Thanks for any help.
In ADS data display, I've got data that is function of both freq and bias (ie data[freq,bias]). At each bias point, I want to subtract the data at freq=0 from the rest of the freq points.
ie dataNew=data-data[::,0]
But data[::,0] has different dimensions to data[::,::] so this gives an error. Is it possible to create a new array that copies the data at freq=0 to all the other frequencies at each bias, so the above subtraction can be carried out?
Thanks for any help.
dataNew=data-expand(data[::,0])
By the way, your data probably has the structure [bias,freq] and not [freq,bias].