资源简介
matlab牛头刨床的源代码,机械原理要做的作业,里面带有注释和讲解,很详细。
代码片段和文件信息
function [thetaomegaalpha ] =ntbc_function( theta1 omega1alpha1ll)
%作者:钟华清
% 地址:汕头大学
%专业:11机电
%日期:2013、5、2
%功能:计算出所需的角度,角速度和角加速度
%版本:第三版
%联系方式:13829578160或11hqzhong@stu.edu.cn
l1=ll(1);
l3=ll(2);
l4=ll(3);
l6=ll(4);
l61=ll(5);
%计算角位移和线位移
s3=sqrt((l1*cos(theta1))*(l1*cos(theta1))+(l6+l1*sin(theta1))*(l6+l1*sin(theta1))); %滑块2相对CD杆的位移
theta3=acos((l1*cos(theta1))/s3); %杆3转过的角度
theta4=pi-asin((l61-l3*sin(theta3))/l4); %杆4转过的角度
sE=l3*cos(theta3)+l4*cos(theta4); %杆5的位移
theta(1)=s3;
theta(2)=theta3;
theta(3)=theta4;
theta(4)=sE;
%计算角速度和线速度
A=[ cos(theta3)-s3*sin(theta3)00;
sin(theta3) s3*cos(theta3)00;
0-l3*sin(theta3)-l4*sin(theta4)-1;
0l3*cos(theta3)l4*cos(theta4)0 ];
B=[-l1*omega1*sin(theta1);l1*omega1*cos(theta1);0;0];
omega=A \ B;
v2=omega(1); %滑块2的速度
omega3=omega(2); %构件3的角速度
omega4=omega(3); %构件4的角速度
vE=omega(4); %构件5的速度
%计算角加速度和加速度
A1=[sin(theta3)s3*cos(theta3)00;
cos(theta3)-s3*sin(theta3)00;
0l3*sin(theta3)l4*sin(theta4)1;
0l3*cos(theta3)l4*cos(theta4)0];
A1t=[omega3*cos(theta3)(v2*cos(theta3)-s3*omega3*sin(theta3))00;
-omega3*sin(theta3)(-v2*sin(theta3)-s3*omega3*cos(theta3))00;
0l3*omega3*cos(theta3)l4*omega4*cos(theta4)0;
0-l3*omega3*sin(theta3)-l4*omega4*sin(theta4)0];
B1t=[-l1*omega1*sin(theta1);-l1*omega1*cos(theta1);0;0];
alpha=A1\(-A1t*omega+omega1*B1t);
a2=alpha(1); %滑块2的加速度
alpha3=alpha(2); %杆3的角加速度
alpha4=alpha(3); %杆4的角加速度
aE=alpha(4); %杆5的加速度
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1936 2013-05-29 00:17 2011124093钟华清\ntbc_function.m
文件 2566 2013-05-29 09:37 2011124093钟华清\ntbc_main.m
文件 0 2013-05-29 09:45 2011124093钟华清\如果打不开或 运行不了请联系我13829578160,谢谢.txt
文件 643022 2013-05-29 09:43 2011124093钟华清\机械原理大作用.pdf
目录 0 2013-05-29 09:46 2011124093钟华清\
相关资源
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
川公网安备 51152502000135号
评论
共有 条评论