Deleting Specific elemnts from Vector?

조회 수: 2 (최근 30일)
Joe Bennet
Joe Bennet 2021년 3월 8일
답변: Ameer Hamza 2021년 3월 8일
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 :)

채택된 답변

Ameer Hamza
Ameer Hamza 2021년 3월 8일
If i, j, and k are positive integers, then
tm(m) = []

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by