Takes a matrix of pixel values (pixel per column)
Takes a matrix of pixel values (pixel per column)

Treats the first as the reference pixel

Calculates difference between reference pixel and actual pixel at specified points and takes the mean of this as the required shift

Plots shifted data on graph

Need to work out how to represent shifted data in pixel matrix

danielojames/4yp