How to range array steps
68 views (last 30 days)
Show older comments
Life is Wonderful
on 22 Sep 2021
Commented: Life is Wonderful
on 22 Sep 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 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!