I am stuck in a certain problem where I am getting the data from matlab with respect to the count of iterations. I want it with respect to time so thati perform fft later on for the data. Please help!
clc, clear all;
count = 0;
s = serial('COM14', 'BaudRate', 115200);
plot(B) I WANT TO PLOT THIS DATA WITH RESPECT TO TIME ON X AXIS