I'm currently using matlab to perform a non-linear least squares regression to fit a line to an array of samples polled from the ADC with roughly 100 data points. Is something like this possible to do on board the nRF52832? I'm just starting out with trying to find the answer to this and I'm hoping someone here can point me in the right direction.