Trying to make every odd number zero in a vector

I have a variable x = 1:100;
I am trying to make the y have every odd number be zero, how do I do that?

Respuestas (1)

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 5 de Dic. de 2019

Respondida:

el 5 de Dic. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by