フィルターのクリア

what is the role of CEIL?

7 ビュー (過去 30 日間)
Touhidul islam
Touhidul islam 2017 年 12 月 28 日
回答済み: Star Strider 2017 年 12 月 28 日
CENTS = F( ceil(rand(K,1)*size(F,1)) ,:);

採用された回答

Star Strider
Star Strider 2017 年 12 月 28 日
The ceil (link) function rounds toward +Inf. In the assignment you posted, its function appears to be to avoid a zero index, since MATLAB indices must be integers greater than zero.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by