Extract two closest rows of a matrix
이전 댓글 표시
Hello,
How can I extract two closest rows of a matrix and set one of them to zero?
thank you.
댓글 수: 3
dpb
2016년 3월 20일
Closest to what and what defines "close"?
Image Analyst
2016년 3월 20일
Well, here is the "set to zero" part
yourMatrix(closestRow, :) = 0;
to determine what scalar value you need for closestRow, you need to answer dpb's question.
amir
2016년 3월 20일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!