Thanks for your fast response - it looks like I had updated my x variable further into my script and created a conflict.  All sorted now.  Thanks again.
sometimes I get a warning : rank deficient
    조회 수: 3 (최근 30일)
  
       이전 댓글 표시
    
sometimes I get a Warning: Rank deficient, rank = 0, tol = 0.000000e+00 and it points to an equation in a loop :
a = sqrt(abs(x/x-d))); where x and d are scalars
my results seem plausible, but should I be concerned about this warning ? 
답변 (1개)
  Matt J
      
      
 2020년 3월 2일
        
      편집: Matt J
      
      
 2020년 3월 2일
  
      should I be concerned about this warning
If the line you've shown is what caused the warning, then it's likely x and d are not both scalars as you intended. You might need to be concerned about that.
Incidentally, this line looks like it should be,
a = sqrt(  abs(  x./(x-d)  )  ); 
댓글 수: 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!

