use int() with multiple lower bound
显示 更早的评论
Hello, I have a matrix t = [0:0.1:10]
and I want to do int(y,x,t,Inf)
where y is just my function and x is my symbol Matlab give me
??? Error using ==> mupadmex Error in MuPAD command: Illegal argument [checkNumber]
I'm assuming that the int function won't take in matrix of t. Is there any way around this? I just need it to do integrate for all the lower bound in the matrix and then give me back a matrix.
Thank you very much
采纳的回答
更多回答(1 个)
Walter Roberson
2011-11-21
0 个投票
Integrate with a symbolic lower bound, and then subs() in the actual lower bound vector.
类别
在 帮助中心 和 File Exchange 中查找有关 Code Performance 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!