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