create a vector which counts down from 200 to 0 by two. How to make every other being negative

create a vector which counts down from 200 to 0 by two with every other entry being negative I already can create a vector from 200 to 0 by 2: X= [200:-2:0] How to make every other entry being negative

 Akzeptierte Antwort

Weitere Antworten (0)

Kategorien

Tags

Gefragt:

am 1 Sep. 2017

Kommentiert:

am 10 Nov. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by