필터 지우기
필터 지우기

I need help with a signal in real time

조회 수: 2 (최근 30일)
Luis David Rojas
Luis David Rojas 2019년 5월 2일
댓글: Luis David Rojas 2019년 5월 2일
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.

채택된 답변

Madhu Govindarajan
Madhu Govindarajan 2019년 5월 2일
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
Luis David Rojas
Luis David Rojas 2019년 5월 2일
Thank you, I'll try this and then I tell you if it works.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by