Matlab
文章平均质量分 54
GZFOCV
这个作者很懒,什么都没留下…
展开
-
Matlab学习笔记(三)
单摆(二)一、单摆的运动方程for n=1:iterations % Iteratively solve equations of motion using Euler's Method theta(n+1,:)=theta(n,:)+omega(n,:)*tStep; % new angular position omega(n+1,:)=omega(n,:)+alpha(n,:)*tStep; % new angular velocity alpha(n+1,:原创 2020-08-04 01:03:11 · 204 阅读 · 0 评论 -
Matlab学习笔记(二)
在Matlab中建立单摆的模型,并绘制运动效果图参考:https://aleksandarhaber.com/dynamics-lecture-simple-pendulum-equations-of-motion-and-solution-of-ordinary-differential-equations-using-matlab/正文:杆的单摆运动的状态空间方程% G_Pendulum.m% time vector time_step=0.05time_vector=[0原创 2020-08-03 21:03:47 · 326 阅读 · 1 评论 -
Matlab学习笔记(一)
一、Matlab毕竟是外国的软件,翻译过来还是有误差的,习惯用英文版吧,中英文切换方法:(1)预设(齿轮)—>常规—>桌面语言(中文/英语),重启软件。(2)win+R弹出运行窗口—>输入SystemPropertiesAdvanced,然后确定——>选择“高级”下的“环境变量”——>选择上方 的“新建”——>变量名:MWLO...原创 2018-03-22 00:30:13 · 248 阅读 · 0 评论