Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
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?

Réponses (1)

David Fletcher
David Fletcher le 27 Avr 2021


En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by