How to generate values between 5 and 4 with difference 0.1 without subtract symbol?
1 回表示 (過去 30 日間)
古いコメントを表示
Akshay Kumar Kumaraswamy
2018 年 6 月 7 日
コメント済み: Akshay Kumar Kumaraswamy
2018 年 6 月 7 日
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!