Effacer les filtres
Effacer les filtres

what is the role of CEIL?

7 vues (au cours des 30 derniers jours)
Touhidul islam
Touhidul islam le 28 Déc 2017
CENTS = F( ceil(rand(K,1)*size(F,1)) ,:);

Réponse acceptée

Star Strider
Star Strider le 28 Déc 2017
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.

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by