Command use to create a series of 10 numbers from 5 to 50 without using increment.

2 次查看(过去 30 天)
Command use to create a series of 10 numbers from 5 to 50 without using increment.

回答(1 个)

Chunru
Chunru 2021-6-28
a = linspace(5, 50, 10)
a = 1×10
5 10 15 20 25 30 35 40 45 50

类别

Help CenterFile Exchange 中查找有关 Time Series Collections 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by