请教一个积分的问题
如我有一个函数=f(x),若我想使用quad 对a积分,请问该如何操作? 不知道你的函数具体是怎么样了,可以附上你的代码,试下匿名函数。 According to your discription, your function is characterized by its output, which is a vector. In Matlab the vector function cannot(at least I havn't seen it before) be intergrated. Considering your disiration, the intergrate operation is just for the first output, I suggest you finds the relationship between a and x first. 一般来说,a要是个函数,才能用quad对其进行积分,如果你的返回值a是数值的话,是不是可以根据a的数值进行曲线拟合后再积分呢
页:
[1]