Octave:exp函数中索引表达式中脚本的无效使用

时间:2017-04-11 19:31:51

标签: matlab octave

我正在使用Octave。我用名字example1.m写了这个简单的脚本:

 t = [0:0.01:5];
 x2 = exp(-3*t);
 plot(t,x2);

我在等待情节,但是我收到了这个错误:

  

Octave:exp函数中索引表达式中脚本的无效使用

此脚本可与其他默认函数(如abs,log等)一起使用,并且过去使用exp函数。但现在不是。
有什么问题?

0 个答案:

没有答案