フィルターのクリア

what is the meaning of the code?

3 ビュー (過去 30 日間)
ARJUN K P
ARJUN K P 2015 年 9 月 20 日
回答済み: Image Analyst 2015 年 9 月 20 日
last16 = 42*ones(16,1);
  1 件のコメント
per isakson
per isakson 2015 年 9 月 20 日
編集済み: Walter Roberson 2015 年 9 月 20 日
Did you try read the help? See ones, Create array of all ones

サインインしてコメントする。

採用された回答

Image Analyst
Image Analyst 2015 年 9 月 20 日
It first uses the ones() function to make a 16-by-1 column vector of 1's. Then since it multiplies that by 42, it ends up with a column vector where every element has the value of 42. Any time you see a function that you don't know what it does, look it up in the help.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by