MATLAB Answers

odd transmitter number from the signal

1 view (last 30 days)
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

  0 Comments

Sign in to comment.

Accepted Answer

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

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.


Translated by