How to transform values in a Matrix when condition is met?

前端 未结 0 981
猫巷女王i
猫巷女王i 2020-12-01 01:37

I have a 40x18 matrix. What I want to do is to check (for loop) every value "x" in this matrix and then if >=0, the x should be transformed to x^alfa. If x<0

相关标签:
回答
  • 消灭零回复
提交回复
热议问题