what is the role of CEIL?
7 ビュー (過去 30 日間)
古いコメントを表示
CENTS = F( ceil(rand(K,1)*size(F,1)) ,:);
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!