Matlab vector and arrays

1 次查看(过去 30 天)
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
You can use directly colon (:) operator.
X=1:20
Y=10:25
For more info:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by