How to generate values between 5 and 4 with difference 0.1 without subtract symbol?
1 次查看(过去 30 天)
显示 更早的评论
I want something like this [5:0.1:4] = 5 4.9 4.8 4.7.....4.1 4
Thank you
0 个评论
采纳的回答
更多回答(1 个)
Walter Roberson
2018-6-7
fliplr(4:0.1:5)
Though it is not clear to me why you do not just use 5:-0.1:4
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!