I have a set up where Matlab reads data from an Arduino board (Mega 2560) constantly - coordinates of a joystick device.
As part of this I need to do some processing of the values that the Ardunio reads. I was wondering if for basic integer math operations, like division and multiplication, if it would always be faster for such processing to happen within Matlab, as opposed to within the Arduino sketch program?
I would intuitively think so given the massive differences in clock speeds between a modern PC and an Arduino board, but maybe not?