Matlab skript that generates a gradient in RGB or HSV colorspace