I need help with a signal in real time

4 visualizaciones (últimos 30 días)
Luis David Rojas
Luis David Rojas el 2 de Mayo de 2019
Comentada: Luis David Rojas el 2 de Mayo de 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.

Respuesta aceptada

Madhu Govindarajan
Madhu Govindarajan el 2 de Mayo de 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
  1 comentario
Luis David Rojas
Luis David Rojas el 2 de Mayo de 2019
Thank you, I'll try this and then I tell you if it works.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Support Package for Arduino Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by