changing one value
Here we take a 30 component vector, and we interpolate it into a 600 component vector. Let's look at both linear and nearest interpolation.
sp = output spectrum not shaped
SP = output spectrum shaped
spec : blue = abs(SP), orange = abs(sp)
abs : blue = abs(abs(SP)-abs(sp)), orange = abs(SP-sp)
ang : blue = ang(SP)-ang(sp), orange = ang(SP-sp)
Both are shown as depending on how we measure things, we might get one or the other
nearest
linear
spec
abs
angle
changing all values
Here we fix a random input of 30 component vector, and do the same thing.
nearest
linear
spec
abs
angle