How to use videoWriter having a matrix

조회 수: 1 (최근 30일)
JamJan
JamJan 2018년 4월 16일
댓글: JamJan 2018년 4월 16일
I want to create a video, using videowriter, of my data (which is written in a matrix. The matrix consists of configurations one and zeros of nx4. In other words: each array in this matrix is a configuration, which is deduced from an array of values in the past.
I want to couple these configurations (16 possibilities) to 16 different images and then I want to loop them over the matrix in order to create an representation of the data over time in images.
Can anyone help me out with this?
  댓글 수: 2
Jan
Jan 2018년 4월 16일
I do not understand the question. Does the contents of the array matter or would the solution be the same for a random matrix of 1s and 0s? What does "couple the configuration" mean? What is "loop them over a matrix"?
JamJan
JamJan 2018년 4월 16일
For every configuration, which is displayed in a 4 value array, let's say for example [0 0 0 1], I want to save this to an image. I want to do that for every combination (16 in total), but I want Matlab to assign these images and place them in order after each other. After this I want to make a video of these images with videowriter.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by