matlab函数编写时候开方怎么表达啊

问题描述:

matlab函数编写时候开方怎么表达啊
我想编写一个函数其中是一个数的0.8次幂!我该怎么写呢?我用乘方的那个也不行啊!
1个回答 分类:英语 2014-12-16

问题解答:

我来补答
我用乘方的那个也不行啊!——这是不可能的
.^ Array power.
Z = X.^Y denotes element-by-element powers.X and Y
must have the same dimensions unless one is a scalar.
A scalar can operate into anything.
C = POWER(A,B) is called for the syntax 'A .^ B' when A or B is an
object.
 
 
展开全文阅读
剩余:2000