I have a matrix A
:
A = [-10 10];
And I'd like to create B
like this:
[ -10 10
-10 10
-10 10
-10 10
.
.
-10 10 ]
with d
rows.
I tried:
B(1:d)=A(:);
to fill rows from 1 to d
with A and a few other combinations, but I can't make it work. How can I achive this?