odd transmitter number from the signal

2 vues (au cours des 30 derniers jours)
abdullah qasim
abdullah qasim le 19 Jan 2019
if
x=[1 -5 4 -6 7 -3 -7 5 6 3 7 8 -4 -1 ]
I want pass the odd number of this signal and set the even number to zero

Réponse acceptée

Walter Roberson
Walter Roberson le 19 Jan 2019
x(~mod(x,2)) = 0;

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by