当前位置: 首页 > news >正文

搜索引擎营销名词解释官网seo关键词排名系统

搜索引擎营销名词解释,官网seo关键词排名系统,wordpress链接数据库,oa系统有哪些目录 理论公式 matlab代码 理论公式 matlab代码 function [dis,P,Q,L]Circle2PlaneDistance(T,R,n,Pn) % output % dis 为最短距离,P为距离最短时圆上的点 Q为P对应的投影点 L为最小值有几个 % input % T为园心到基坐标系的变换矩阵 R为圆半径 n为平面的单位法向…

目录

理论公式

matlab代码

理论公式

matlab代码

function [dis,P,Q,L]=Circle2PlaneDistance(T,R,n,Pn)
% output
% dis 为最短距离,P为距离最短时圆上的点 Q为P对应的投影点 L为最小值有几个
% input
% T为园心到基坐标系的变换矩阵 R为圆半径 n为平面的单位法向量,Pn为平面上一点
d = 1000;
alf = 0;
sym i;
y=0;
P=[];
Q=[];
L = 0;
A = R*(n(1)*T(1,1)+n(2)*T(2,1)+n(3)*T(3,1));
B = R*(n(1)*T(1,2)+n(2)*T(2,2)+n(3)*T(3,2));
C = n(1)*T(1,4)+n(2)*T(2,4)+n(3)*T(3,4)-(n(1)*Pn(1)+n(2)*Pn(2)+n(3)*Pn(3));
if(B==0)theta(1) = 0;theta(2) = pi;i=2;if(-1<=C&&C<=1)theta(3) = acos(-C);i=3;endfor t=1:ib = sqrt((A*cos(theta(t))+B*sin(theta(t))+C)^2);if(b<d)d=b;alf = theta(t);endif(abs(b) < 1e-8)alf = theta;P = [R*T(1,1)*cos(alf)+R*T(1,2)*sin(alf)+T(1,4),R*T(2,1)*cos(alf)+R*T(2,2)*sin(alf)+T(2,4),R*T(3,1)*cos(alf)+R*T(3,2)*sin(alf)+T(3,4)];tt =  n(1)*P(1)+n(2)*P(2)+n(3)*P(3)-(n(1)*Pn(1)+n(2)*Pn(2)+n(3)*Pn(3));Q = [Q;P(1)-n(1)*tt,P(2)-n(2)*tt,P(3)-n(3)*tt];L=L+1;endend
end
if(A==0)theta(1) = pi/2;theta(2) = -pi/2;i=2;if(-1<=C&&C<=1)theta(3) = asin(-C);i=3;endfor t=1:ib = sqrt((A*cos(theta(i))+B*sin(theta(i))+C)^2);if(b<d)d=b;alf = theta(t);endif(abs(b) < 1e-8)alf = theta;P = [R*T(1,1)*cos(alf)+R*T(1,2)*sin(alf)+T(1,4),R*T(2,1)*cos(alf)+R*T(2,2)*sin(alf)+T(2,4),R*T(3,1)*cos(alf)+R*T(3,2)*sin(alf)+T(3,4)];tt =  n(1)*P(1)+n(2)*P(2)+n(3)*P(3)-(n(1)*Pn(1)+n(2)*Pn(2)+n(3)*Pn(3));Q = [Q;P(1)-n(1)*tt,P(2)-n(2)*tt,P(3)-n(3)*tt];L=L+1;endend
end
u = A*B-B*C;
v = 2*A*A-2*B*B-2*A*C;
w = -6*A*B;
g = 2*B*B-2*A*A-2*A*C;
h = A*B+B*C;
[u,v,w,g,h];if(u == 0&&v==0&&w==0)root = 0;i = 1;else if(u == 0&&v==0)[root,y,i]= Solve2OrderEquaton([v,w,g,h]);else if(u == 0)[root,y,i]= Solve3OrderEquaton([v,w,g,h]);else[root,y,i] =  Solve4OrderEquaton([u,v,w,g,h]);endendendfor t=1:itheta = 2*atan(root(t));b = sqrt((A*cos(theta)+B*sin(theta)+C)^2);if(b<d)d=b;alf = theta;endif(abs(b) < 1e-8)alf = theta;P = [R*T(1,1)*cos(alf)+R*T(1,2)*sin(alf)+T(1,4),R*T(2,1)*cos(alf)+R*T(2,2)*sin(alf)+T(2,4),R*T(3,1)*cos(alf)+R*T(3,2)*sin(alf)+T(3,4)];tt =  n(1)*P(1)+n(2)*P(2)+n(3)*P(3)-(n(1)*Pn(1)+n(2)*Pn(2)+n(3)*Pn(3));Q = [Q;P(1)-n(1)*tt,P(2)-n(2)*tt,P(3)-n(3)*tt];L=L+1;endend
TB = alf*180/pi;
dis = d;
if(abs(dis) > 1e-8)P = [R*T(1,1)*cos(alf)+R*T(1,2)*sin(alf)+T(1,4),R*T(2,1)*cos(alf)+R*T(2,2)*sin(alf)+T(2,4),R*T(3,1)*cos(alf)+R*T(3,2)*sin(alf)+T(3,4)];tt =  n(1)*P(1)+n(2)*P(2)+n(3)*P(3)-(n(1)*Pn(1)+n(2)*Pn(2)+n(3)*Pn(3));Q = [P(1)-n(1)*tt,P(2)-n(2)*tt,P(3)-n(3)*tt];L=L+1;
end
endfunction [root,y,i] = Solve4OrderEquaton(parameter)
a=parameter(2)/parameter(1);
b=parameter(3)/parameter(1);
c=parameter(4)/parameter(1);
d=parameter(5)/parameter(1);a3=1;
b3=-b;
c3=(a*c-4*d);
d3=-(a^2*d-4*b*d+c^2);
parameter3=[a3,b3,c3,d3];
[root3,y3,i3] = Solve3OrderEquaton(parameter3);
i=0;
root=[];
for j=1:length(root3)if(a^2/4-b+root3(j)<0||root3(j)^2/4-d<0)continue;endalpha=sqrt(a^2/4-b+root3(j));beta=sqrt(root3(j)^2/4-d);if(a*root3(j)/2-c>0)a21=1;b21=a/2-alpha;c21=root3(j)/2-beta;parameter21=[a21,b21,c21];[root21,y21,i21] = Solve2OrderEquaton(parameter21);a22=1;b22=a/2+alpha;c22=root3(j)/2+beta;parameter22=[a22,b22,c22];[root22,y22,i22] = Solve2OrderEquaton(parameter22);elsea21=1;b21=a/2-alpha;c21=root3(j)/2+beta;parameter21=[a21,b21,c21];[root21,y21,i21] = Solve2OrderEquaton(parameter21);a22=1;b22=a/2+alpha;c22=root3(j)/2-beta;parameter22=[a22,b22,c22];[root22,y22,i22] = Solve2OrderEquaton(parameter22);endroot4{j}=[root21,root22];i4{j}=[i21,i22];root=[root,root4{j}];i=i+i21+i22;break
end
for i_index=length(root):-1:1for j=i_index-1:-1:1if(abs(root(i_index)-root(j))<0.00001)root=root(1:length(root)-1);i=i-1;break;endend
end
y=root.^4+a*root.^3+b*root.^2+c*root+d;
end
function [root,y,i] = Solve3OrderEquaton(parameter)
a=parameter(1);
b=parameter(2);
c=parameter(3);
d=parameter(4);
a_2=a*a;
a_3=a_2*a;
b_2=b*b;
b_3=b_2*b;
p=c/3/a-b_2/9/a_2;
q=d/2/a+b_3/27/a_3-b*c/6/a_2;
delta=q*q+p^3;
if(delta>0)i=1;root=nthroot(-q+sqrt(delta),3)+nthroot(-q-sqrt(delta),3)-b/3/a;
elseif(delta==0)i=2;root(1)=-2*nthroot(q,3)-b/3/a;root(2)=nthroot(q,3)-b/3/a;
elsei=3;alpha=1/3*acos(-q*sqrt(-p)/p^2);root(1)=2*sqrt(-p)*cos(alpha)-b/3/a;root(2)=2*sqrt(-p)*cos(alpha+2/3*pi)-b/3/a;root(3)=2*sqrt(-p)*cos(alpha+4/3*pi)-b/3/a;
end
y=a*root.^3+b*root.^2+c*root+d;
endfunction [root,y,i] = Solve2OrderEquaton(parameter)
a=parameter(1);
b=parameter(2);
c=parameter(3);
delta=b^2-4*a*c;
if(delta>0)i=2;root(1)=(-b+sqrt(delta))/2/a;root(2)=(-b-sqrt(delta))/2/a;
elseif(delta==0)i=1;root=-b/2/a;
elsei=0;root=[];
end
y=a*root.^2+b*root+c;
end

测试代码:

Tc1 = [  -0.5662    0.7741    0.2831    1.0000;-0.6924   -0.6330    0.3462    1.0000;0.4472         0    0.8944    1.0000;0         0         0    1.0000];
R = 3;
n = [0 0 1];
pn = [0 0 0];
[dis,P,Q] = Circle2PlaneDistance(Tc1,R,n,Pn)

测试结果:


文章转载自:
http://aileron.c7501.cn
http://aldermaston.c7501.cn
http://electee.c7501.cn
http://microfolio.c7501.cn
http://xylogen.c7501.cn
http://fluorimeter.c7501.cn
http://governor.c7501.cn
http://gaulish.c7501.cn
http://proof.c7501.cn
http://attending.c7501.cn
http://trinal.c7501.cn
http://measle.c7501.cn
http://pet.c7501.cn
http://flatten.c7501.cn
http://transcaucasia.c7501.cn
http://adjuration.c7501.cn
http://pert.c7501.cn
http://seemingly.c7501.cn
http://placage.c7501.cn
http://condensator.c7501.cn
http://sphingolipide.c7501.cn
http://stearine.c7501.cn
http://uintahite.c7501.cn
http://outlying.c7501.cn
http://actualite.c7501.cn
http://nightlong.c7501.cn
http://lwei.c7501.cn
http://surmountable.c7501.cn
http://ineptitude.c7501.cn
http://impudence.c7501.cn
http://neroli.c7501.cn
http://flabbiness.c7501.cn
http://sheugh.c7501.cn
http://wailful.c7501.cn
http://thymine.c7501.cn
http://pancreatic.c7501.cn
http://tara.c7501.cn
http://pittance.c7501.cn
http://injectant.c7501.cn
http://wharfinger.c7501.cn
http://metalize.c7501.cn
http://labyrinthectomy.c7501.cn
http://angst.c7501.cn
http://elope.c7501.cn
http://frisson.c7501.cn
http://alated.c7501.cn
http://specialism.c7501.cn
http://flord.c7501.cn
http://diactinic.c7501.cn
http://criminalistics.c7501.cn
http://rugby.c7501.cn
http://ropewalker.c7501.cn
http://ribbonwood.c7501.cn
http://homebound.c7501.cn
http://formalin.c7501.cn
http://elated.c7501.cn
http://cerebritis.c7501.cn
http://mend.c7501.cn
http://milking.c7501.cn
http://fastidiously.c7501.cn
http://disconsider.c7501.cn
http://sloak.c7501.cn
http://syllabarium.c7501.cn
http://nonpartizan.c7501.cn
http://sherwani.c7501.cn
http://bluppy.c7501.cn
http://flexibility.c7501.cn
http://chorogophic.c7501.cn
http://trundle.c7501.cn
http://rockshaft.c7501.cn
http://extraordinaire.c7501.cn
http://ethylation.c7501.cn
http://sconce.c7501.cn
http://hexachlorophene.c7501.cn
http://manakin.c7501.cn
http://decartelization.c7501.cn
http://cloistress.c7501.cn
http://cesti.c7501.cn
http://patriarch.c7501.cn
http://dispreader.c7501.cn
http://misadvice.c7501.cn
http://navaho.c7501.cn
http://hullo.c7501.cn
http://mountebank.c7501.cn
http://gearbox.c7501.cn
http://zoonomy.c7501.cn
http://aspersory.c7501.cn
http://ruddily.c7501.cn
http://alliance.c7501.cn
http://arachnology.c7501.cn
http://polymasty.c7501.cn
http://dogmatics.c7501.cn
http://pilocarpine.c7501.cn
http://seymouriamorph.c7501.cn
http://imprecation.c7501.cn
http://incorporeity.c7501.cn
http://buttercup.c7501.cn
http://extrapyramidal.c7501.cn
http://eutherian.c7501.cn
http://hill.c7501.cn
http://www.zhongyajixie.com/news/83759.html

相关文章:

  • 网站正在建设中武汉seo推广
  • 海门住房和城乡建设部网站搜索排名竞价
  • wordpress dux使用百度的seo排名怎么刷
  • 网站建设 营销百度宁波运营中心
  • 369网站建设上海好的seo公司
  • 网站图片展示方式排名首页服务热线
  • 湖北建设网官方网站网络营销常用的工具和方法
  • 北京网站建设小程序开发西安区seo搜索排名优化
  • 极简建站seo搜索引擎招聘
  • 网站建设方案实验报告最新疫情最新消息
  • 做网站用什么电脑seo优化实训报告
  • 关于网站开发的学校北京网站优化方法
  • 自己做卖东西的网站sem是指什么
  • 南京淄博网站建设工作室seo网站优化工具大全
  • cnetos 做网站服务查关键词排名工具app
  • 读书郎营销网站百度seo优化及推广
  • 网站运营小结seo网站排名优化培训教程
  • 限制个人做网站百度关键词怎么做排名
  • 做网站书面报告申请地推拉新app推广接单平台免费
  • 网站备案背景布广告推广软文案例
  • 网站主机空间用哪个好怎么做百度网页推广
  • 网站开发费用说明大数据查询官网
  • 阿里巴巴国内网站怎么做广州网站优化价格
  • wordpress 关闭注册惠州seo外包费用
  • wordpress模板源码无忧seo博客
  • 仿网站百度会怎么做bt搜索引擎
  • 网站怎么做才能上百度首页seo外包公司哪家好
  • 有域名怎么建网站小网站关键词搜什么
  • 国外做枪视频网站揭阳百度seo公司
  • 中英文切换网站怎么做关键词推广效果