How do I round up a number?
    조회 수: 7 (최근 30일)
  
       이전 댓글 표시
    
Hi, I was wondering whether there's any function other than 'round(X)' that can round up a number? I'm trying not to use round(X) because every time I use it, I get an error: Subscript indices must either be real positive integers or logicals. Thanks
댓글 수: 0
채택된 답변
  the cyclist
      
      
 2013년 4월 20일
        
      편집: the cyclist
      
      
 2013년 4월 20일
  
      You are probably getting that error because somehow you have created a variable called "round".
What do you get if you type
>> which round
추가 답변 (1개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!