MATLAB算积分。
Show older comments
请问一下,我用MATLAB算定积分,为什么不出结果呢?代码如下:
syms theta;
y = int(((cos(theta)).^2./3^2+(sin(theta)).^2./1^2).^(3.9/2-1),theta,0,2*pi),运行结果如下:

Answers (1)
埃博拉酱
on 28 Sep 2024
0 votes
因为你这个积分没有解析解。你要算数值解得把y转换成double。
Categories
Find more on 数学 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!