How can I split a matrix with connection data?

조회 수: 1 (최근 30일)
Eric
Eric 2014년 12월 8일
댓글: Eric 2014년 12월 9일
Hi everybody,
I have a matrix (18x18) with connection results (first, meaning that I have the values one (1) in all coordinates with the same number like (2,2), (3,3) and so on). Second, I also have the double amount of values with (11,2) and (2,11) being the same value.
I'm therefore interested in a way to divide the matrix into two (and thereby only keeping the real connection data and only one value for each connection. Does anyone know how to do that?
Best regards,
Christian

채택된 답변

Guillaume
Guillaume 2014년 12월 8일
It's not easy to understand what you're asking without an example.
Does triu (or tril) do what you want?
  댓글 수: 3
Star Strider
Star Strider 2014년 12월 8일
@Guillaume —
+1 for understanding the Question!
Eric
Eric 2014년 12월 9일
Thank you for noticing Star Strider! I'll try harder in the future.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by