MATLAB plot for arduino data

2 visualizzazioni (ultimi 30 giorni)
Dhanesha Bandara
Dhanesha Bandara il 11 Mag 2021
Risposto: Markus il 11 Giu 2021
How can i plot in MATLAB for arduinos digital readings? Becuse i need to plot graph for frequency which measure in arduino uno.

Risposte (1)

Markus
Markus il 11 Giu 2021
Assuming you already have the data as a MATLAB vector dataArduino, you can just do
plot([1:length(dataArduino),dataArduino])
Otherwise please specify what your problem is.
Helpful would be:
  • Code: your try on the issue
  • Background: how do you read the data, is it already in MATLAB, which format does it have, how do you want to plot it?

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by