Filter löschen
Filter löschen

Is there a basic function that gets one half of a symmetrical matrix?

1 Ansicht (letzte 30 Tage)
Title speaks for itself. I have done multiple pairwise t-tests and want to get one half of the p-value matrix to check for false discovery rate, and wondered if there was a simple way of getting one half of that symmetrical matrix.
Any help is much appreciated. Thank you!

Akzeptierte Antwort

David Haydock
David Haydock am 28 Okt. 2022
triu(X)

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 28 Okt. 2022
squareform()

Community Treasure Hunt

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

Start Hunting!

Translated by