Gradient generation using a single perturbation signal