This is a Matlab code I found for real time plot of Arduino output:
a = arduino(‘COM3’);
interv = 1000;
passo = 1;
I don’t understand how x=[x,b] works. What happens to x through each iteration?