0

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.

Sardar Usama
  • 19,536
  • 9
  • 36
  • 58

0 Answers0