摘要: 由于项目上要用到平滑一维数组数据,参考Matlab smooth函数转成c++代码 // x,g均为数组,具体内容略 plot(x,g);hold on,plot(x,smooth(g,50),'r'); z1 = (g1-smooth(g1,50)'); figure,plot(x,z1,'.-' 阅读全文
posted @ 2020-03-16 20:39 sgggr 阅读(12681) 评论(0) 推荐(0)