用Matlab求解定积分作图时出现Explicit integral could not be found这样一个数 想用matlab画出Φ与e的坐标图,横坐标是e,纵坐标是Φ,Io=1,r=0.01,具体编的程序是:clc;clear all;i=1;r=0.01;e=0:0.01:2;syms x y;y=1/4*i*int
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/12 12:41:47
![用Matlab求解定积分作图时出现Explicit integral could not be found这样一个数 想用matlab画出Φ与e的坐标图,横坐标是e,纵坐标是Φ,Io=1,r=0.01,具体编的程序是:clc;clear all;i=1;r=0.01;e=0:0.01:2;syms x y;y=1/4*i*int](/uploads/image/z/13332926-38-6.jpg?t=%E7%94%A8Matlab%E6%B1%82%E8%A7%A3%E5%AE%9A%E7%A7%AF%E5%88%86%E4%BD%9C%E5%9B%BE%E6%97%B6%E5%87%BA%E7%8E%B0Explicit+integral+could+not+be+found%E8%BF%99%E6%A0%B7%E4%B8%80%E4%B8%AA%E6%95%B0++%E6%83%B3%E7%94%A8matlab%E7%94%BB%E5%87%BA%CE%A6%E4%B8%8Ee%E7%9A%84%E5%9D%90%E6%A0%87%E5%9B%BE%2C%E6%A8%AA%E5%9D%90%E6%A0%87%E6%98%AFe%2C%E7%BA%B5%E5%9D%90%E6%A0%87%E6%98%AF%CE%A6%2CIo%3D1%2Cr%3D0.01%2C%E5%85%B7%E4%BD%93%E7%BC%96%E7%9A%84%E7%A8%8B%E5%BA%8F%E6%98%AF%EF%BC%9Aclc%3Bclear+all%3Bi%3D1%3Br%3D0.01%3Be%3D0%3A0.01%3A2%3Bsyms+x+y%3By%3D1%2F4%2Ai%2Aint)
用Matlab求解定积分作图时出现Explicit integral could not be found这样一个数 想用matlab画出Φ与e的坐标图,横坐标是e,纵坐标是Φ,Io=1,r=0.01,具体编的程序是:clc;clear all;i=1;r=0.01;e=0:0.01:2;syms x y;y=1/4*i*int
用Matlab求解定积分作图时出现Explicit integral could not be found这样一个数 想用matlab画出Φ与e的坐标图,横坐标是e,纵坐标是Φ,Io=1,r=0.01,具体编的程序是:
clc;
clear all;
i=1;
r=0.01;
e=0:0.01:2;
syms x y;
y=1/4*i*int(1-cos(2*atan((sqrt(r.^2-e.^2*(sin(x)).^2)-e.*cos(x))/0.01)),0,2*pi);
plot(e,y)
运行后系统提示警告 Explicit integral could not be found和
Error using ==> plot
Conversion to double from sym is not possible.
用Matlab求解定积分作图时出现Explicit integral could not be found这样一个数 想用matlab画出Φ与e的坐标图,横坐标是e,纵坐标是Φ,Io=1,r=0.01,具体编的程序是:clc;clear all;i=1;r=0.01;e=0:0.01:2;syms x y;y=1/4*i*int
int是符号积分,这个积分解matlab找不到显示表达式,因此得不到定积分的值.
因为你的目的是画出图像,所以可改用数值积分,quad或者integral.