MATLAB Answers

Info

This question is closed. Reopen it to edit or answer.

How to define a binary variable matrix

1 view (last 30 days)
BOWEN LI
BOWEN LI on 29 Jun 2019
Closed: John D'Errico on 30 Jun 2019
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 Comments

Answers (0)

Community Treasure Hunt

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

Start Hunting!