I have two spectral waveforms that I need to multiply together.
The wavelength (X Axis) for each spectral measurement is non-linear and each graph has slightly different element 0 values.
This means I cannot just multiply the spectral values (Y Axis) and re-nornalise them.
Is there a method in LabVIEW that is able to do this. I have tried curve fitting and then using the generated curve but that also does not seem linear. I have also tried converting the XY Graph to a waveform and resampling it but as the X Axis is non-linear this does not work either. I don't particularly want to do the interpolation and multiplication manually but will if I have to.
Attached is a vi with some data. I only have access to LabVIEW 2012.
Solved! Go to Solution.
Thanks for the reply. That does work in getting the array sizes the same, but I was looking for a way to get the X Axis values the same too. This would need some interpolation and would be more generic especially if the one array is not twice the size of the other.
based on your wave you need to choose a method appropratie with your wave i use linear one
test this vi