Deleting Specific elemnts from Vector?

2 visualizaciones (últimos 30 días)
Joe Bennet
Joe Bennet el 8 de Mzo. de 2021
Respondida: Ameer Hamza el 8 de Mzo. de 2021
Hiya,
I have a 15660x1 array 'tm' and as well as a 3x1 array 'm'= [i, j, k]. I would like to remove the 'ith', 'jth' and 'kth' elements from the 'tm' array, so any help would be greatly appreciated!
Thanks :)

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 8 de Mzo. de 2021
If i, j, and k are positive integers, then
tm(m) = []

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by