How to plot a animation plot on a 2D grid?

조회 수: 2 (최근 30일)
ZHEN XU
ZHEN XU 2019년 2월 14일
댓글: ZHEN XU 2019년 2월 14일
I have a 21*4 matrix data which only contains 0 and 1. I wanna build a 2*2 2d grid that can change color following 0 and 1.( 0 is white and 1 is black) Each column in that 21*4 matrix repersents the data for 1 block in the grid. How could I plot a animated plot to work like a neon? Thank you.
  댓글 수: 4
Geoff Hayes
Geoff Hayes 2019년 2월 14일
so you apply the 21 "signals" from the first column into the first block of the 2x2, then apply the 21 signals from the second column to the second block of the 2x2, etc. Is this correct? Do you pause between each signal "update"?
ZHEN XU
ZHEN XU 2019년 2월 14일
yes, each signal can pause maybe 0.1sec.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 View and Analyze Simulation Results에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by