第一范文网 - 专业文章范例文档资料分享平台

张海涛-2013424064-第四次作业+Baumgarte违约修正

来源:用户分享 时间:2025/5/19 18:19:15 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

弹簧阻尼四连杆机构动力学分析—Baumgarte违约修正

title('三杆质心Y位移变化') legend('matlab','adams') % 三杆质心角度变化 subplot(313) plot(t,q(6,:),'b-') hold on;

plot(data0(:,1),data0(:,3),'r-');

xlabel('时间t/s') ylabel('角度rad')

title('三杆质心角度变化') legend('matlab','adams')

%% 四杆质心位移

% 四杆质心X位移变化 h3=figure(3);

set(h3,'name','四杆质心位移'); subplot(311) plot(t,q(7,:),'b-') hold on;

data3=load('gan4_xy.tab'); plot(data3(:,1),data3(:,2),'r-'); xlabel('时间t/s') ylabel('位移/m')

title('四杆质心X位移变化') legend('matlab','adams') % 四杆质心Y位移变化 subplot(312) plot(t,q(8,:),'b-') hold on;

plot(data3(:,1),data3(:,3),'r-'); xlabel('时间t/s') ylabel('位移/m')

title('四杆质心Y位移变化') legend('matlab','adams') % 四杆质心角度变化 subplot(313) plot(t,q(9,:),'b-') hold on;

plot(data0(:,1),data0(:,4)+pi,'r-');

xlabel('时间t/s') ylabel('角度rad')

title('四杆质心角度变化') legend('matlab','adams')

25

弹簧阻尼四连杆机构动力学分析—Baumgarte违约修正

%% 二杆质心速度变化 % 二杆质心X速度变化 h4=figure(4);

set(h4,'name','二杆质心速度'); subplot(311)

plot(t,q_v(1,:),'b-') hold on;

data4=load('gan2v_xya.tab'); plot(data4(:,1),data4(:,2),'r-'); xlabel('时间t/s') ylabel('速度m/s')

title('二杆质心X速度变化') legend('matlab','adams') % 二杆质心Y速度变化 subplot(312)

plot(t,q_v(2,:),'b-') hold on;

plot(data4(:,1),data4(:,3),'r-'); xlabel('时间t/s') ylabel('速度m/s')

title('二杆质心Y速度变化') legend('matlab','adams') % 二杆质心角速度变化 subplot(313)

plot(t,q_v(3,:),'b-') hold on;

plot(data4(:,1),data4(:,4),'r-'); xlabel('时间t/s') ylabel('角速度rad/s')

title('二杆质心角速度变化') legend('matlab','adams')

%% 三杆质心速度变化 % 三杆质心X速度变化 h5=figure(5);

set(h5,'name','三杆质心速度'); subplot(311)

plot(t,q_v(4,:),'b-') hold on;

data5=load('gan3v_xya.tab'); plot(data5(:,1),data5(:,2),'r-'); xlabel('时间t/s') ylabel('速度m/s')

title('三杆质心X速度变化')

26

弹簧阻尼四连杆机构动力学分析—Baumgarte违约修正

legend('matlab','adams') % 三杆质心Y速度变化 subplot(312)

plot(t,q_v(5,:),'b-') hold on;

plot(data5(:,1),data5(:,3),'r-'); xlabel('时间t/s') ylabel('速度m/s')

title('三杆质心Y速度变化') legend('matlab','adams') %三杆质心角速度变化 subplot(313)

plot(t,q_v(6,:),'b-') hold on;

plot(data5(:,1),data5(:,4),'r-'); xlabel('时间t/s') ylabel('角速度rad/s')

title('三杆质心角速度变化') legend('matlab','adams')

%% 四杆质心速度变化 % 四杆质心X速度变化 h6=figure(6);

set(h6,'name','四杆质心速度'); subplot(311)

plot(t,q_v(7,:),'b-') hold on;

data6=load('gan4v_xya.tab'); plot(data6(:,1),data6(:,2),'r-'); xlabel('时间t/s') ylabel('速度m/s')

title('四杆质心X速度变化') legend('matlab','adams') % 四杆质心Y速度变化 subplot(312)

plot(t,q_v(8,:),'b-') hold on;

plot(data6(:,1),data6(:,3),'r-'); xlabel('时间t/s') ylabel('速度m/s')

title('四杆质心Y速度变化') legend('matlab','adams') %四杆质心角速度变化 subplot(313)

27

弹簧阻尼四连杆机构动力学分析—Baumgarte违约修正

plot(t,q_v(9,:),'b-') hold on;

plot(data6(:,1),data6(:,4),'r-'); xlabel('时间t/s') ylabel('角速度rad/s')

title('四杆质心角速度变化') legend('matlab','adams')

%% 二杆质心加速度

% 二杆质心X加速度变化 h7=figure(7);

set(h7,'name','二杆质心加速度'); subplot(311)

plot(t,q_ac(1,:),'b-') hold on;

data7=load('gan2ac_xya.tab'); plot(data7(:,1),data7(:,2),'r-'); xlabel('时间t/s')

ylabel('加速度m/s^2')

title('二杆质心X加速度变化') legend('matlab','adams') % 二杆质心Y加速度变化 subplot(312)

plot(t,q_ac(2,:),'b-') hold on;

plot(data7(:,1),data7(:,3),'r-'); xlabel('时间t/s')

ylabel('加速度m/s^2')

title('二杆质心Y加速度变化') legend('matlab','adams') % 二杆质心角加速度变化 subplot(313)

plot(t,q_ac(3,:),'b-') hold on;

plot(data7(:,1),data7(:,4),'r-'); xlabel('时间t/s')

ylabel('角加速度rad/s^2') title('二杆质心角加速度变化') legend('matlab','adams')

%% 三杆质心加速度

% 三杆质心X加速度变化 h8=figure(8);

set(h8,'name','三杆质心加速度');

28

搜索更多关于: 张海涛-2013424064-第四次作业+Baumgarte 的文档
张海涛-2013424064-第四次作业+Baumgarte违约修正.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c0riqy9g6o55gf8x599ez10e609m8f001baf_7.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top