| 查看: 1803 | 回复: 6 | |||
[交流]
【求助】MATLAB错误
|
|
为什么此程序运行会出现这个错误: ??? Error using ==> diff Function 'diff' is not supported for class 'cfit'. Error in ==> cfit.plot at 65 if any(diff(xdata)<0) Error in ==> CO2 at 20 plot(x,yy1,'g-'); |
» 猜你喜欢
为什么资助数各大高校都创新高,自己申请怎么就这么难
已经有15人回复
科研人应该花精力去思考如何解决问题,而不是去凝练问题
已经有14人回复
要骂人了,新模版改版就是要淡化问题凝练这种虚的东西,结果有个评委还在说凝练得不够
已经有17人回复
基金系统什么内容也没有
已经有10人回复
学科评审组评审是指会评吗?
已经有5人回复
梦想
已经有8人回复
面上合作单位盖章
已经有9人回复
面上函评意见出来了,像什么等级?
已经有17人回复
小白求助 投论文要求的highlights应该如何写
已经有4人回复
麻烦专家们看看评委们的意见(F口面上)
已经有12人回复
» 本主题相关价值贴推荐,对您同样有帮助:
matlab安装过程中出现了错误
已经有3人回复
Matlab中RBF建模,仿真是遇到的问题
已经有6人回复
求助matlab-simulink运行时报错问题
已经有3人回复
求matlab7.0安装程序或中文说明
已经有5人回复
VS2005下matlab调用
已经有8人回复
【求助】向各位大侠求助matlab求解微分方程组遇到的一个问题
已经有21人回复
【求助】求matlab软件,要求能用
已经有5人回复
关于应用MATLAB工具箱BP网络编程问题
已经有1人回复
【求助】大家看看,matlab安装过程的截图,找出错
已经有14人回复
【求助】使用Matlab预估动力学方程问题
已经有13人回复
» 抢金币啦!回帖就可以得到:
云南大学丁军桥团队2027年博士招生
+1/809
【征稿中!】2026年机械、制造技术与材料国际会议 (MEMTM 2026)
+1/758
[求助]请问美国有哪些PC品牌厂商?
+1/188
哈尔滨工业大学(校本部)电信学院2027级博士招生
+1/180
2027级博士研究生——质谱分析
+5/120
南京大学医学院附属鼓楼医院 肿瘤疫苗与纳米医学团队 博士后招聘
+1/93
同济大学环境学院肖倩课题组招收博士研究生(资格审核制)
+1/40
评职称需要,卖发明专利了:D有技术储备需求的设备厂商可联系
+1/18
山东大学-山东字节信息智能技术实验室2026年招聘博士后
+2/16
香港城市大学生物物理/软物质材料课题组2026-2027年招博士生1名
+2/16
深圳大学岩土多场耦合课题组-长期招聘研究生、博士后、专职研究人员
+1/10
哈工大马樱招收2027级计算机类/集成电路类博士生
+1/8
上海大学微电子学院杨军教授团队招收微电子/集成电路/材料/机械/微纳制造博士一名
+1/6
上海大学微电子学院杨军教授团队招收微电子/集成电路/材料/机械/微纳制造博士一名
+1/5
【科研诚信】武汉轻工大学何江玲3篇论文:涉嫌抄袭、成组数据重复、制造虚假显著
+1/4
中国科学院西北生态环境资源研究院畜牧学课题组科研助理招聘启事
+1/4
中国科学院西北生态环境资源研究院畜牧学课题组科研助理招聘启事
+1/3
上海大学微电子学院杨军教授团队招收微电子/集成电路/材料/机械/微纳制造博士一名
+1/2
义翘神州推出全长p-Tau217蛋白,助力阿尔茨海默病下一代生物标志物检测开发
+1/2
结肠炎多维度分子解析:炎症‑免疫‑肠道屏障一体化检测策略
+1/1
2楼2010-12-15 17:22:16
★ ★ ★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
robert2020(金币+3):多谢应助! 2010-12-29 09:05:21
小木虫(金币+0.5):给个红包,谢谢回帖交流
robert2020(金币+3):多谢应助! 2010-12-29 09:05:21
3楼2010-12-19 21:31:56
4楼2010-12-19 21:34:06
★ ★ ★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
robert2020(金币+3):非常感谢虫友应助!辛苦了! 2010-12-21 13:08:56
小木虫(金币+0.5):给个红包,谢谢回帖交流
robert2020(金币+3):非常感谢虫友应助!辛苦了! 2010-12-21 13:08:56
|
恩 对的,具体的方法可以由cflibhelp得到~ 祝你好运 For curves: GROUP DESCRIPTION distribution - distribution models such as Weibull exponential - exponential function and sum of two exponential functions fourier - up to eight terms of fourier series gaussian - sum of up to eight gaussian models power - power function and sum of two power functions rational - rational equation models, up to 5th degree / 5th degree sin - sum of up to eight sin functions spline - splines interpolant - interpolating models polynomial - polynomial models up to degree nine For surfaces: GROUP DESCRIPTION interpolant - interpolating models polynomial - polynomial models up to degree five lowess - lowess smoothing models To list only the model equations for a group, type CFLIBHELP followed by the group name. Example: cflibhelp polynomial All models in the Curve Fitting Library: DISTRIBUTION MODELS MODELNAME EQUATION weibull Y = a*b*x^(b-1)*exp(-a*x^b) EXPONENTIAL MODELS MODELNAME EQUATION exp1 Y = a*exp(b*x) exp2 Y = a*exp(b*x)+c*exp(d*x) FOURIER SERIES MODELNAME EQUATION fourier1 Y = a0+a1*cos(x*p)+b1*sin(x*p) fourier2 Y = a0+a1*cos(x*p)+b1*sin(x*p)+a2*cos(2*x*p)+b2*sin(2*x*p) fourier3 Y = a0+a1*cos(x*p)+b1*sin(x*p)+...+a3*cos(3*x*p)+b3*sin(3*x*p) ... fourier8 Y = a0+a1*cos(x*p)+b1*sin(x*p)+...+a8*cos(8*x*p)+b8*sin(8*x*p) where p = 2*pi/(max(xdata)-min(xdata)). GAUSSIAN SUMS (Peak fitting) MODELNAME EQUATION gauss1 Y = a1*exp(-((x-b1)/c1)^2) gauss2 Y = a1*exp(-((x-b1)/c1)^2)+a2*exp(-((x-b2)/c2)^2) gauss3 Y = a1*exp(-((x-b1)/c1)^2)+...+a3*exp(-((x-b3)/c3)^2) ... gauss8 Y = a1*exp(-((x-b1)/c1)^2)+...+a8*exp(-((x-b8)/c8)^2) INTERPOLANT INTERPTYPE DESCRIPTION Curves & Surfaces: linearinterp linear interpolation nearestinterp nearest neighbor interpolation cubicinterp cubic spline interpolation Curves Only: pchipinterp shape-preserving (pchip) interpolation Surfaces Only: biharmonicinterp biharmonic (MATLAB 4 griddata) interpolation POLYNOMIAL MODELS MODELNAME EQUATION Curves: poly1 Y = p1*x+p2 poly2 Y = p1*x^2+p2*x+p3 poly3 Y = p1*x^3+p2*x^2+...+p4 ... poly9 Y = p1*x^9+p2*x^8+...+p10 Surfaces: Model names for polynomial surfaces are 'polyij', where i is the degree in x and j is the degree in y. The maximum for both i and j is five. The degree of the polynomial is the maximum of i and j. The degree of x in each term will be less than or equal to i, and the degree of y in each term will be less than or equal to j. For example: poly21 Z = p00 + p10*x + p01*y + p20*x^2 + p11*x*y poly13 Z = p00 + p10*x + p01*y + p11*x*y + p02*y^2 + p12*x*y^2 + p03*y^3 poly55 Z = p00 + p10*x + p01*y +...+ p14*x*y^4 + p05*y^5 POWER MODELS MODELNAME EQUATION power1 Y = a*x^b power2 Y = a*x^b+c RATIONAL MODELS Rational Models are polynomials over polynomials with the leading coefficient of the denominator set to 1. Model names are 'ratij', where i is the degree of the numerator and j is the degree of the denominator. The degrees go up to five for both the numerator and the denominator. For example: MODELNAME EQUATION rat02 Y = (p1)/(x^2+q1*x+q2) rat21 Y = (p1*x^2+p2*x+p3)/(x+q1) rat55 Y = (p1*x^5+...+p6)/(x^5+...+q5) SUM OF SINE FUNCTIONS MODELNAME EQUATION sin1 Y = a1*sin(b1*x+c1) sin2 Y = a1*sin(b1*x+c1)+a2*sin(b2*x+c2) sin3 Y = a1*sin(b1*x+c1)+...+a3*sin(b3*x+c3) ... sin8 Y = a1*sin(b1*x+c1)+...+a8*sin(b8*x+c8) SPLINES Spline models are only supported for curve fitting, not for surface fitting SPLINETYPE DESCRIPTION cubicspline cubic interpolating spline smoothingspline smoothing spline LOWESS Lowess models are only supported for surface fitting, not for curve fitting MODELNAME DESCRIPTION lowess local linear regression loess local quadratic regression |
5楼2010-12-20 20:56:45
6楼2010-12-20 20:59:18
7楼2010-12-28 11:42:43










回复此楼
