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

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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

태그

질문:

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