How to replace numbers in a column vector after certain elements?

4 vues (au cours des 30 derniers jours)
FW
FW le 7 Juil 2019
How should we proceed if we have a column vector X with 1000 elements, and we wish to replace all the values after a certain row, say after 600, by zeros? The context is basically filtering in the Fourier domain. It may not be the efficient way, but I just wish to see what happens to the inverse transform? Thanks.

Réponse acceptée

madhan ravi
madhan ravi le 7 Juil 2019
X(600+1 : end) = 0;

Plus de réponses (0)

Catégories

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

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by