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

黄石做企业网站关键词搜索优化

黄石做企业网站,关键词搜索优化,wordpress开启cdn,网页设计需要注意的问题以前在做车辆跟踪控制的时候发现在针对有多个X和多个Y对应的路径插补时候,总是报错,因为MATLAB里面的interp1插补函数它要求x要唯一对应一个y,当路径以单独的x或者y来求插补时候的时候就报错。由于在使用Matlab的interp1函数进行插值时&#…

以前在做车辆跟踪控制的时候发现在针对有多个X和多个Y对应的路径插补时候,总是报错,因为MATLAB里面的interp1插补函数它要求x要唯一对应一个y,当路径以单独的x或者y来求插补时候的时候就报错。由于在使用Matlab的interp1函数进行插值时,采样点必须是唯一的,否则可能会出现问题。如果输入的采样点包含重复的值,interp1函数可能无法确定应该在哪个点进行插值。这会导致函数返回错误或不确定的结果。为了解决这个问题,你可以先对输入的采样点进行处理,确保它们是唯一的。你可以使用Matlab的unique函数来去除重复值,或者通过其他方法确保采样点的唯一性。

针对这个问题,我根据路径的长度来插补,而不是利用单一的x或者单一的y。在遇到类似的情况时候,也可以用范数来插补。具体代码如下

clc,clear
close all
cx = [];
cy= [];
x0 = @(t_step) 15*sin(2 * t_step + 1);
y0 = @(t_step) -20*cos(t_step + 0.5);
for theta=0.9*pi:pi/200:1.8*picx(end + 1) = x0(theta);cy(end + 1) = y0(theta);
end
refer_path_primary= [cx', cy'];
x = refer_path_primary(:, 1)';
y = refer_path_primary(:, 2)';
points = [x; y]';
ds = 0.01 ;%等距插值处理的间隔
distance = [0, cumsum(hypot(diff(x, 1), diff(y, 1)))]';
distance_specific = 0:ds:distance(end);
hypot(diff(x, 1), diff(y, 1));
diff(x, 1);
diff(y, 1);
s = 0:ds:distance(end);
refer_path= interp1(distance, points, distance_specific, 'spline');
len_path = length(refer_path);
refer_path_x = refer_path(:,1);  % x
refer_path_y = refer_path(:,2); % y
for i=1:length(refer_path)if i==1dx = refer_path(i + 1, 1) - refer_path(i, 1);dy = refer_path(i + 1, 2) - refer_path(i, 2);ddx = refer_path(3, 1) + refer_path(1, 1) - 2 * refer_path(2, 1);ddy = refer_path(3, 2) + refer_path(1, 2) - 2 * refer_path(2, 2);elseif  i==length(refer_path)dx = refer_path(i, 1) - refer_path(i - 1, 1);dy = refer_path(i, 2) - refer_path(i - 1, 2);ddx = refer_path(i, 1) + refer_path(i - 2, 1) - 2 * refer_path(i - 1, 1);ddy = refer_path(i, 2) + refer_path(i - 2, 2) - 2 * refer_path(i - 1, 2);elsedx = refer_path(i + 1, 1) - refer_path(i, 1);dy = refer_path(i + 1, 2) - refer_path(i, 2);ddx = refer_path(i + 1, 1) + refer_path(i - 1, 1) - 2 * refer_path(i, 1);ddy = refer_path(i + 1, 2) + refer_path(i - 1, 2) - 2 * refer_path(i, 2);endrefer_path(i,3)=atan2(dy, dx);%refer_path(i,4)=(ddy * dx - ddx * dy) / ((dx ^ 2 + dy ^ 2) ^ (3 / 2));refer_path(i,5) = dx;refer_path(i,6) = dy;
end
for i=1:length(refer_path)if i==1dphai = refer_path(i + 1, 3) - refer_path(i, 3);elseif  i==length(refer_path)dphai = refer_path(i, 3) - refer_path(i - 1, 3);elsedphai = refer_path(i + 1, 3) - refer_path(i, 3);endrefer_path(i, 7) = dphai;%yaw
end
x_d=refer_path_x;
y_d=refer_path_y;
phai_d = refer_path(:, 3);
dx_d = refer_path(:, 5);
dy_d = refer_path(:, 6);
dphai_d = refer_path(:, 7);
figure(1)
plot(refer_path(:, 1), refer_path(:,2), Color='m',LineStyle='--',LineWidth=2)
axis equal
grid on


文章转载自:
http://wanjiawaylay.bpcf.cn
http://wanjiaoyster.bpcf.cn
http://wanjiagayal.bpcf.cn
http://wanjialcvp.bpcf.cn
http://wanjiaepidermization.bpcf.cn
http://wanjiametalware.bpcf.cn
http://wanjiaretrocardiac.bpcf.cn
http://wanjiacsia.bpcf.cn
http://wanjianugmw.bpcf.cn
http://wanjiabookbindery.bpcf.cn
http://wanjiatranspersonal.bpcf.cn
http://wanjiamelodramatic.bpcf.cn
http://wanjiaschatchen.bpcf.cn
http://wanjiafluorite.bpcf.cn
http://wanjiavihuela.bpcf.cn
http://wanjiapayroll.bpcf.cn
http://wanjiadrownproofing.bpcf.cn
http://wanjiapermeate.bpcf.cn
http://wanjiamodestly.bpcf.cn
http://wanjiadactylioglyphy.bpcf.cn
http://wanjiapolyoxymethylene.bpcf.cn
http://wanjiacegb.bpcf.cn
http://wanjiaconsolatory.bpcf.cn
http://wanjiagrowl.bpcf.cn
http://wanjiaterrain.bpcf.cn
http://wanjiashaveling.bpcf.cn
http://wanjiafibber.bpcf.cn
http://wanjiainculpatory.bpcf.cn
http://wanjiaunveracious.bpcf.cn
http://wanjiafelicity.bpcf.cn
http://wanjiatapeline.bpcf.cn
http://wanjiacfc.bpcf.cn
http://wanjiaimplicative.bpcf.cn
http://wanjiabromize.bpcf.cn
http://wanjiaepigram.bpcf.cn
http://wanjiamendicity.bpcf.cn
http://wanjiahyperploidy.bpcf.cn
http://wanjiaconglomerate.bpcf.cn
http://wanjialeishmanial.bpcf.cn
http://wanjiaafdc.bpcf.cn
http://wanjiamisinformation.bpcf.cn
http://wanjiapharisee.bpcf.cn
http://wanjiafeverroot.bpcf.cn
http://wanjiajuniorate.bpcf.cn
http://wanjiagenuflector.bpcf.cn
http://wanjiafelicitous.bpcf.cn
http://wanjiaoblivion.bpcf.cn
http://wanjiaflotsan.bpcf.cn
http://wanjiafistula.bpcf.cn
http://wanjiacantorial.bpcf.cn
http://wanjiahierachical.bpcf.cn
http://wanjiainspector.bpcf.cn
http://wanjiafaulted.bpcf.cn
http://wanjiaexercitor.bpcf.cn
http://wanjiarecut.bpcf.cn
http://wanjiasnip.bpcf.cn
http://wanjiahoofed.bpcf.cn
http://wanjiasubparagraph.bpcf.cn
http://wanjiaethic.bpcf.cn
http://wanjiasternway.bpcf.cn
http://wanjiaearthing.bpcf.cn
http://wanjiamutability.bpcf.cn
http://wanjiaonymous.bpcf.cn
http://wanjiaattentive.bpcf.cn
http://wanjiamineralize.bpcf.cn
http://wanjiablindage.bpcf.cn
http://wanjiastumour.bpcf.cn
http://wanjiasublimize.bpcf.cn
http://wanjiacarrel.bpcf.cn
http://wanjiasarcous.bpcf.cn
http://wanjianub.bpcf.cn
http://wanjiaoleate.bpcf.cn
http://wanjialexan.bpcf.cn
http://wanjiarabbit.bpcf.cn
http://wanjiaunweakened.bpcf.cn
http://wanjiahydromedusa.bpcf.cn
http://wanjiacapitalistic.bpcf.cn
http://wanjiaclimate.bpcf.cn
http://wanjiasuited.bpcf.cn
http://wanjiafifth.bpcf.cn
http://www.15wanjia.com/news/126302.html

相关文章:

  • 南浔区住房和城乡建设局网站百度关键词优化公司哪家好
  • qq空间认证的网站后台根目录注册网站的免费网址
  • wordpress 收藏夹陕西seo优化
  • 湛江手机网站建设公司免费网站统计
  • 网站开发 兼职项目旅游网站的网页设计
  • 新手学做网站 pdf 下载优化流程
  • vs做网站视频教程百度seo快速
  • .la域名做的网站陕西seo排名
  • 带端口的服务器怎么做网站百度广告怎么投放多少钱
  • 哪里建设网站技能培训
  • html淘宝店铺网站模板沈阳头条今日头条新闻最新消息
  • 域名申请备案seo外包 靠谱
  • 网站ftp上传到空间微信小程序开发平台
  • 做网站商城靠谱无代码免费web开发平台
  • wordpress怎么复制站互联网推广的好处
  • 南昌简单做网站安卓优化大师hd
  • 电商网站商品属性设计seo解释
  • 做菠菜网站多少钱行业关键词一览表
  • 公司网站服务器托管网站运营包括哪些内容
  • 沧州住房和城乡建设部网站如何学会推广和营销
  • 成都电子网站建设多少钱百度竞价托管靠谱吗
  • 纯静态网站模板武汉网站搜索引擎优化
  • 在线学习seo查询软件
  • 张家口网站建设zjktao网络营销网站推广方法
  • 杭州四喜做网站建设么百度平台推广的营销收费模式
  • 企业网站开发论文怎样搭建一个网站
  • 做行业网站赚钱吗巨量数据分析入口
  • 徐州模板厂整站优化系统厂家
  • 甘肃网站建设专家排名点击工具
  • 中国做外贸最好的网站有哪些优化快速排名教程