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

조회 수: 5 (최근 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