Deleting Specific elemnts from Vector?

3 Ansichten (letzte 30 Tage)
Joe Bennet
Joe Bennet am 8 Mär. 2021
Beantwortet: Ameer Hamza am 8 Mär. 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 :)

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 8 Mär. 2021
If i, j, and k are positive integers, then
tm(m) = []

Weitere Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by