For example, I have a variable i
and I want to set i=(2,3)
such that B(i)=B(2,3)=7
.
B=[1 2 3 4
5 6 7 8];
i=('2,3');
B(i)
I am kind of stuck here. Please help.
For example, I have a variable i
and I want to set i=(2,3)
such that B(i)=B(2,3)=7
.
B=[1 2 3 4
5 6 7 8];
i=('2,3');
B(i)
I am kind of stuck here. Please help.