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

5 visualizzazioni (ultimi 30 giorni)
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!

Risposta accettata

David Haydock
David Haydock il 28 Ott 2022
triu(X)

Più risposte (1)

Walter Roberson
Walter Roberson il 28 Ott 2022
squareform()

Categorie

Scopri di più su Descriptive Statistics in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by