Deleting Specific elemnts from Vector?

2 vues (au cours des 30 derniers jours)
Joe Bennet
Joe Bennet le 8 Mar 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 :)

Réponse acceptée

Ameer Hamza
Ameer Hamza le 8 Mar 2021
If i, j, and k are positive integers, then
tm(m) = []

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by