How to define a binary variable matrix

Hi,
I'm trying to define a binary variable matrix that each row has the same outputs, but differs in different rows.
For example, i have a binary variable y, and the matrix is [y1 y1 y1;y2 y2 y2;y3 y3 y3]. And y={y1 y2 y3} which are bianry variables.

답변 (0개)

이 질문은 마감되었습니다.

질문:

2019년 6월 29일

마감:

2019년 6월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by