odd transmitter number from the signal

2 Ansichten (letzte 30 Tage)
abdullah qasim
abdullah qasim am 19 Jan. 2019
Beantwortet: Walter Roberson am 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

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by