How can I split a matrix with connection data?

2 次查看(过去 30 天)
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?

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by