arduino code and matlab data plot script