Info

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

hi,,I am trying to generate such matrix? is there any way to do that?

1 view (last 30 days)
say,
a=[1 0 1 0 1 0];
B=[22 0 0 22 22 0];
I am trying to generate something as
C=[1 22 1 22 1 0]

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!