MATLAB 折线变曲线问题

[复制链接]
查看11 | 回复1 | 2013-1-13 23:28:39 | 显示全部楼层 |阅读模式
a=[1 6/7 13/22 0 0 38/55 1 42/61 7/9 15/23 26/33 39/62 0 4/5 1 18/25];cdfplot(a);hold on[f,x] = ecdf(a);x1=[x(1:3)];y1=[f(1:3)];plot(x1,y1,'r-')hold onx2=[x(3:13)],y2=[f(3:13)]p=polyfit(x2,y2,5)xi=0.59:0.01:1;yi=polyval(p,xi)plot(xi,yi,'r*') ...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行