matlab里e的x次方怎么表示?
exp(x)
表示e的x次方。
一般用
a^x
表示a的x次方,但matlab不能直接引用e。
要想写成
e^x
的形式,要先为e赋值,如下:
e=exp(1);
可以使用了