- #1
math8
- 160
- 0
I want a code in MATLAB that produces A\{4}, where A={3,6,1,-3,4,8}.
I know for instance:
A=[ 3 6 1 -3 4 8];
A(5)=[]; produces
3 6 1 -3 8
But what should I do if I don't know the index (in this case 5) for the entry '4'; and I want to get
[ 3 6 1 -3 8]?
I know for instance:
A=[ 3 6 1 -3 4 8];
A(5)=[]; produces
3 6 1 -3 8
But what should I do if I don't know the index (in this case 5) for the entry '4'; and I want to get
[ 3 6 1 -3 8]?