Unrecognized function or variable 'X'
    조회 수: 1 (최근 30일)
  
       이전 댓글 표시
    
답변 (1개)
  Walter Roberson
      
      
 2020년 4월 2일
        Example:
myX = randi(9, 17, 3);
myY = randi(9, 5, 3) - 5;
myD = pdist2(myX, myY, 'sqeuclidean');
That is, you need to have data to pass into the function. The variable names do not need to be X, Y and metric: you can use whatever variable names are appropriate for your purposes.
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


