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

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

采纳的回答

David Haydock
David Haydock 2022-10-28
triu(X)

更多回答(1 个)

Walter Roberson
Walter Roberson 2022-10-28
squareform()

类别

Help CenterFile Exchange 中查找有关 Descriptive Statistics and Visualization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by