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

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

Risposte (1)

Image Analyst
Image Analyst il 17 Set 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))

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by