Linear Stroke

Calculate magnetic field and output angle for linear stroke applications for arbitrary applications. Linearize the output signal and plot the angle error.