How can I create a vector using line space command that'll have repeating variables. The vector B=44445555

1 次查看(过去 30 天)
How can I create a vector using line space command that'll have repeating variables. The vector B=44445555

回答(1 个)

Image Analyst
Image Analyst 2018-9-17
Do you mean linspace() instead of "line space"? If so, you'll also need another function since linspace increments the number. So if you want to also use round(), you can do this:
out = round(linspace(4, 5, 8))

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by