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;
无论如何我可以使用 JavaSCript 在 <table> 中获取指定的第 n个<td> 的 innerHTML 吗?
由于我的表是自动生成的,所以我的 <td> 没有 ID。我正在使用以下 HTML 代码:
<table id="table"> <tr