Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
A code that certifies me if my variable "n" is present in the first (left) column of a matrix
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
Maybe someone can help me, I am looking for a code that certifies me if my variable "n" is present in the first (left) column of my matrix, the left column corresponds to all the starpoints of a grid of segments and I want to check if my "n" value corresponds to one of these values.
Edge = [1 2;
2 3;
3 4;
2 6;
3 7;
5 6;
6 7;
7 8];
[i,j]=size(Edge);
댓글 수: 0
답변 (1개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!