18 Star 27 Fork 6

skywolf / StepMotor_Matlab

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
TriangleAccSlope.m 325 Bytes
一键复制 编辑 原始数据 按行查看 历史
% 三角形加速度曲线模式下加速度的斜率计算
% 已知初始频率f0、最大频率f2和加速度时间2t,计算加速度的斜率da。
% t为加速时间的一半。计算公式如下:
% f1 = f0 + da * t^2 /2;
% a1 = da * t;
% f2 = f1 + a1 * t - da * t^2 /2
% = f0 + da * t^2
% 最后得到da如下:
function da = TriangleAccSlope(f0, f2, t)
da = (f2-f0)/(t*t);
Matlab
1
https://gitee.com/dingtu/StepMotor_Matlab.git
git@gitee.com:dingtu/StepMotor_Matlab.git
dingtu
StepMotor_Matlab
StepMotor_Matlab
master

搜索帮助