what is the role of CEIL?
    2 views (last 30 days)
  
       Show older comments
    
    Touhidul islam
 on 28 Dec 2017
  
    
    
    
    
    Answered: Star Strider
      
      
 on 28 Dec 2017
            CENTS = F( ceil(rand(K,1)*size(F,1)) ,:);
0 Comments
Accepted Answer
  Star Strider
      
      
 on 28 Dec 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.
0 Comments
More Answers (0)
See Also
Categories
				Find more on Special Characters in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
