フィルターのクリア

The initialisation of this matrix which the colon operator

1 回表示 (過去 30 日間)
Zachary Holmes
Zachary Holmes 2015 年 12 月 2 日
回答済み: Walter Roberson 2015 年 12 月 2 日
if my matrix is: B = [ 0 4 8 12 16 20 24 28 32 36 40]
would the correct initialisation be: B=0:4:20??

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 12 月 2 日
No, but you are headed in the right direction. You will immediately see the problem when you try your code.

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by