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