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

2 views (last 30 days)
How can I create a vector using line space command that'll have repeating variables. The vector B=44445555

Answers (1)

Image Analyst
Image Analyst on 17 Sep 2018
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))

Tags

Community Treasure Hunt

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

Start Hunting!