what is the role of CEIL?
조회 수: 2 (최근 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에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!