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.

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 29 Jun. 2019

Geschlossen:

am 30 Jun. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by