Coding practice question, printed out a question sheet and not sure how this would be done.

조회 수: 1 (최근 30일)
Assume that you have a vector, X, with 150 elements. Write the single line MatLab command that will delete every third element; that is it deletes elements 3, 6, 9 and so on.
How would this be coded and look like?

답변 (1개)

David Fletcher
David Fletcher 2021년 4월 27일

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by