代码是下面这样的,一些加粗语句看不懂,哪位大神帮忙注释一下,谢谢。
clear;
close all
l1=150;l2=400;l3=370;l4=230;l5=230;a=300;b=450;c=370;**omega1=50*pi/3;alpha1=0;hd=pi/180;du=180/pi;**
for n=1:360
theta1(n)=(n-1)*hd;
[theta2(n),theta3(n),theta4(n),l7(n),omega2(n),omega3(n),omega4(n),v7(n),alpha2(n),alpha3(n),alpha4(n),a7(n),phi1,phi2(n),phi3(n),phi4(n)]=jie_jie(l1,l2,l3,l4,l5,a,b,c,omega1,theta1(n));
end
figure(1);
n=1:360;
subplot(2,3,1);
plot(n,theta2*du);
text(200,100,'\theta_2');
title('角位移线图');
xlabel('曲柄转角\theta_1/\circ')
ylabel('角位移/ \theta/\circ ')
grid on;
hold on;