求matlab高手指教,画一个三维的图A=0:0.1:5r=0.1:0.01:50;B=90-A;u=0.2;m=70;g=9.8;v0=15;h=2;k=sqrt(sind(B)/cosd(B)*sind(B)/cosd(B)+1);b=r*(1-k);a=r*(sind(B)/cosd(B))/k;v1=v0*v0+2*g*(h-b)-2*u*g*(sind(B)/cosd(B))*(h-b);c=(m*v1/r+m*g*sind(A)-3*m
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/28 01:01:54
求matlab高手指教,画一个三维的图A=0:0.1:5r=0.1:0.01:50;B=90-A;u=0.2;m=70;g=9.8;v0=15;h=2;k=sqrt(sind(B)/cosd(B)*sind(B)/cosd(B)+1);b=r*(1-k);a=r*(sind(B)/cosd(B))/k;v1=v0*v0+2*g*(h-b)-2*u*g*(sind(B)/cosd(B))*(h-b);c=(m*v1/r+m*g*sind(A)-3*m
求matlab高手指教,画一个三维的图
A=0:0.1:5
r=0.1:0.01:50;
B=90-A;
u=0.2;
m=70;
g=9.8;
v0=15;
h=2;
k=sqrt(sind(B)/cosd(B)*sind(B)/cosd(B)+1);
b=r*(1-k);
a=r*(sind(B)/cosd(B))/k;
v1=v0*v0+2*g*(h-b)-2*u*g*(sind(B)/cosd(B))*(h-b);
c=(m*v1/r+m*g*sind(A)-3*m*g*(2*m*cosd(A)+sind(A))/(1+4*m*m))/(exp(-2*u*A));
V2=6*g*r*m*(2*m*sind(A)-cosd(A))/(1+4*m*m)-c*exp(-2*u*A)/(m*u)-6*g*r'*m*2*m/(1+4*m*m)+c*exp(-2*u*pi/2)/(m*u)+2*g*b+v1;
v2=sqrt(V2);
plot3(A,r,v2)
老是有错,
A的范围如上,r大于0即可.
求matlab高手指教,画一个三维的图A=0:0.1:5r=0.1:0.01:50;B=90-A;u=0.2;m=70;g=9.8;v0=15;h=2;k=sqrt(sind(B)/cosd(B)*sind(B)/cosd(B)+1);b=r*(1-k);a=r*(sind(B)/cosd(B))/k;v1=v0*v0+2*g*(h-b)-2*u*g*(sind(B)/cosd(B))*(h-b);c=(m*v1/r+m*g*sind(A)-3*m
这个可以运行,就是数据大小要一致
A=0:0.1:5;
r=0:0.1:5;
B=90-A;
u=0.2;
m=70;
g=9.8;
v0=15;
h=2;
k=sqrt(sind(B)/cosd(B)*sind(B)/cosd(B)+1);
b=r*(1-k);
a=r*(sind(B)/cosd(B))/k;
v1=v0*v0+2*g*(h-b)-2*u*g*(sind(B)/cosd(B))*(h-b);
c=(m*v1/r+m*g*sind(A)-3*m*g*(2*m*cosd(A)+sind(A))/(1+4*m*m))/(exp(-2*u*A));
V2=6.*g.*r.*m.*(2.*m.*sind(A)-cosd(A))./(1+4*m*m)-c*exp(-2*u*A)/(m*u)-6*g*r*m*2*m/(1+4*m*m)+c*exp(-2*u*pi/2)/(m*u)+2*g*b+v1;
v2=sqrt(V2);
plot3(A,r,v2)