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

1 Ansicht (letzte 30 Tage)
How can I create a vector using line space command that'll have repeating variables. The vector B=44445555

Antworten (1)

Image Analyst
Image Analyst am 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!

Translated by