Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一个方阵,例如:
0.0029 0.0003 0.0003 0.0004
我想取对角线的平方根并为两个结果值创建两个不同的向量。为了获得平方根,我使用了sqrt(diag(matrix)),但我不知道如何将我得到的值分解为两个不同的向量。
sqrt(diag(matrix))
谁能帮我?