![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Matlab
BLAZAR'
这个作者很懒,什么都没留下…
展开
-
步进电机加速段、匀速段、减速段脉冲控制方法
电机的S加速、减速曲线,可以实现速度和加速度的平滑; 使用Sigmoid函数, total = 1000;%脉冲数 max = 400;%间隔时间最大值 min = 100;%间隔时间最小值 step1_start = 0; step1_end = fix(total/3.0); step2_start = fix(total/3.0); step2_end = fix(total/3...原创 2019-11-05 15:00:30 · 2941 阅读 · 0 评论 -
matlab音量归一化
目的:实现wav音频幅度的归一化 function VolNormalization(input) [dataInFolder, dataOutFolder]=textread(input,'%s %s') #第一列为输入音频文件夹,第二列是输出音频的文件夹,目前只能支持一行,也就是输入为一个文件夹,输出为一个文件夹 wavDir=dir(sprintf('%s%s%s',char(d...原创 2019-08-06 14:35:30 · 1676 阅读 · 3 评论