MATLAB plot for arduino data

3 次查看(过去 30 天)
Dhanesha Bandara
Dhanesha Bandara 2021-5-11
回答: Markus 2021-6-11
How can i plot in MATLAB for arduinos digital readings? Becuse i need to plot graph for frequency which measure in arduino uno.

回答(1 个)

Markus
Markus 2021-6-11
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?

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by