A row vector called D with all the numbers between 0 and 2 in steps of 0.1
1 回表示 (過去 30 日間)
古いコメントを表示
I am confused weather the answer should be D = 0:0.1 :2 or D = 0.1:0.1 :2
0 件のコメント
回答 (1 件)
Cam Salzberger
2018 年 2 月 26 日
Well, it depends on how you interpret the word "between". However, in these types of questions, it typically means "between and inclusive of". So I believe that 0:0.1:2 would be correct.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!