Setting a vector to use specific variables in increments.

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 件のコメント

dpb
dpb 2016 年 11 月 16 日
See
doc colon
Then type
doc
and click on "Getting Started" and work thru the tutorial info on Matlab basics.
Calvin Wynn
Calvin Wynn 2016 年 11 月 16 日
thank you
dpb
dpb 2016 年 11 月 16 日
No problem...sometimes one just has to start to see how simple it really is... :)

サインインしてコメントする。

回答 (0 件)

カテゴリ

製品

タグ

質問済み:

2016 年 11 月 16 日

コメント済み:

dpb
2016 年 11 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by