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
0 个评论
回答(1 个)
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))
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!