I need help with a signal in real time
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Luis David Rojas
le 2 Mai 2019
Commenté : Luis David Rojas
le 2 Mai 2019
Hello everybody
I'm taking a signal using an Arduino UNO and Matlab and I need to change X axe in function of the time. For example, if the time is 10 seconds, the X axe change every 10 seconds in a new figure each time.
0 commentaires
Réponse acceptée
Madhu Govindarajan
le 2 Mai 2019
Have you tried using tic and toc functions to measure time elapsed and then opening a new figure using the figure function if time is greater than 10 seconds (using something like if toc > 10). It is going to be hard to make it exactly 10 seconds.
HTH,
Madhu
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Support Package for Arduino Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!