Borrar filtros
Borrar filtros

what is the role of CEIL?

7 visualizaciones (últimos 30 días)
Touhidul islam
Touhidul islam el 28 de Dic. de 2017
Respondida: Star Strider el 28 de Dic. de 2017
CENTS = F( ceil(rand(K,1)*size(F,1)) ,:);

Respuesta aceptada

Star Strider
Star Strider el 28 de Dic. de 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.

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by