How to range array steps
82 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Life is Wonderful
il 22 Set 2021
Commentato: Life is Wonderful
il 22 Set 2021
Hi
I am looking for a logic to range of value from -1 to +1 including 0 where data should look like
-1-2-3...-32 : +32+31..1
Example snippet
x = [-1:-1:-32:32:1:1]
Note : No Loops involed
Thank you
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!