Matlab vector and arrays
2 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
Sudhakar Shinde
on 6 Oct 2020
You can use directly colon (:) operator.
X=1:20
Y=10:25
For more info:
0 Comments
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!