I’m trying to plot the data in Matlab, where I save the text file from Arduino nano in Coolterm. The circuit is basically two sensors output voltage in two channels using AnalogRead(). Then I realize the time intervals are irregular in my plot, which seems to cause by the inconsistent sampling rate. Can someone please help me to increase and fix the sampling frequency to 250 Hz? Thank you for answering.