Setting a vector to use specific variables in increments.

8 views (last 30 days)
How would I go about setting two variables to use numbers within a column vector that incrementally change. (For instance, a vector with 30 numbers. The rows being X1 = 0 and X2 = 1 and then from there it increases by 1 each (so thus X1 = 1 and X2 = 2 and so forth.)
  3 Comments
dpb
dpb on 16 Nov 2016
No problem...sometimes one just has to start to see how simple it really is... :)

Sign in to comment.

Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!