How do I remove elements at a set of indices in a vector in MATLAB?

I have a vector with 100 elements. I have another vector with index positions of elements I want to remove from this vector.

How do I do this?

Answers


vector(indecies) = []

example:

>> a = 1:10;
>> a([3,4,7]) = []

a =

     1     2     5     6     8     9    10

Need Your Help

Using Jquery Ajax to retrieve data from Mysql

php mysql ajax jquery

list.php: A simple ajax code that I want to display only records of the Mysql table:

vb hex color codes

vb6 colors hex

I want to do this: