フィルターのクリア

simple matlab command m=1:10 going up in values of 0.5

28 ビュー (過去 30 日間)
ahmed lamak
ahmed lamak 2016 年 9 月 1 日
回答済み: Geoff Hayes 2016 年 9 月 1 日
This is very silly but how would i make m=1:10 be values from 1 to 10 but instead of going up in integers go up in values of 0.5.
i.e. m =1 , 1.5, 2 , ..., 9.5 , 10

採用された回答

Geoff Hayes
Geoff Hayes 2016 年 9 月 1 日
ahmed - just try
m = 1:0.5:10;

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by