How is the orthogonalization symmetric in the "bst_henv.m" function?

Dear Raymundo.Cassani ,

Thanks for your patient response. It has been really helpful to me.
Regarding the matter, I have another question. Is it possible to set the diagonal of the relevance matrix to zero? I noticed in version 230724 of Brainstorm, there are lines 194-195 in the 'bst_henv.m' function where the diagonal of the correlation matrix is set to zero, but these lines seem to be commented out. I'm wondering if a similar approach can be applied for orthogonalizing the envelope correlation.
I eagerly await your response and appreciate your continued support.
Thank you once again for your patience and guidance.

Best regards,
Yanxi