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.
我有一个尺寸为 512 x 683 的矩阵,我希望通过将其分别提高到 0.8 和 1.2 来对其进行伽马变换。显然你不能将非方阵提升到幂,所以我想知道如何将矩阵的每个元素提升到 0.8 次方和 1.2 次方。
谢谢
元素明智:
newMat1 = oldMat.^0.8;
和
newMat2 = oldMat.^1.2;