In this tutorial you will learn how to plot graph in Matlab by acquiring data from Arduino. In this video I have attached a potentiometer to the A0 pin of Arduino Mega and written a matlab script to acquire data from arduino and display the data using graph on arduino.