Matlab vector and arrays

6 views (last 30 days)
Miller will
Miller will on 6 Oct 2020
Answered: Sudhakar Shinde on 6 Oct 2020
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.

Accepted Answer

Sudhakar Shinde
Sudhakar Shinde on 6 Oct 2020
You can use directly colon (:) operator.
X=1:20
Y=10:25
For more info:

More Answers (0)

Community Treasure Hunt

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

Start Hunting!