How to Use the operator ‘:’ (colon) to create vectors of number series from 1 to 20 stored to variable X and number series of 10 to 25 stored to variable Y.

 採用された回答

Sudhakar Shinde
Sudhakar Shinde 2020 年 10 月 6 日

0 投票

You can use directly colon (:) operator.
X=1:20
Y=10:25
For more info:

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by