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 Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by