为什么这程序在matlab上运行,显示出错呢,求高手指点。软件显示是函数定义在脚本
function[x,y]=GaussTouying1(b,B,L,l0)a=(cos(B))^2;r=206265;l=l0/r;N=6399698.902-(2156...
function [x,y] = GaussTouying1(b,B,L,l0)
a=(cos(B))^2;r=206265;l=l0/r;
N=6399698.902-(21562.267-((108.973-0.612*a)*a))*a;
a0=32140.404-(135.3302-(0.7092-0.0040*a)*a)*a;
a4=((0.25+0.00252*a)*a)-0.04166;
a6=(0.166*a-0.084)*a;
a3=(0.3333333+0.001123*a)*a-0.1666667;
a5=0.0083-(0.1667-(0.1968+0.0040*a)*a)*a;
x=6367558.4969*b/r-(a0-(0.5+(a4+a6*l^2)*l^2)*l^2*N)*sin(B)*cos(B);
y=(1+(a3+a5*l^2)*l^2)*l*N*cos(B);
end 展开
a=(cos(B))^2;r=206265;l=l0/r;
N=6399698.902-(21562.267-((108.973-0.612*a)*a))*a;
a0=32140.404-(135.3302-(0.7092-0.0040*a)*a)*a;
a4=((0.25+0.00252*a)*a)-0.04166;
a6=(0.166*a-0.084)*a;
a3=(0.3333333+0.001123*a)*a-0.1666667;
a5=0.0083-(0.1667-(0.1968+0.0040*a)*a)*a;
x=6367558.4969*b/r-(a0-(0.5+(a4+a6*l^2)*l^2)*l^2*N)*sin(B)*cos(B);
y=(1+(a3+a5*l^2)*l^2)*l*N*cos(B);
end 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询