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 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by