当前位置:首页
开发技术指南» 文章正文
    引言:

    摘要: 能不能捕捉到所有 未捕捉的异常? 能不能获取发生这个异常的窗口 ? 然后做一个统一的处理? 呵呵 ......
 ·赋值出错    »显示摘要«
    摘要: 语句报错: string strpath="c:\program files\ecsolutions" 请教一下program files是怎么解决的?谢谢 ......


Matlab中有没有写好的拟合函数供直接调用啊

如果有的话该如何调用呢?

NO.1   作者: mynetpc

有模型可以训练

NO.2   作者: Sunmast

拟合还是插值?  
  前者可以使用贝塞尔算法,后者可以使用三次样条插值  
   
   
  都是图形学的基础内容,公式也不复杂,何必总去寻求现成的库

NO.3   作者: richardingding

多项式曲线的拟合    
  p=polyfit(x,y,n)     x,y为横,纵坐标,n为多项式的次数

NO.4   作者: richardingding

用mathlab很方便,插值函数为interp2   等等

NO.5   作者: lefo

matlab有拟合工具箱的,还是图形化的界面,可以选许多拟合函数的,好好查查书吧

NO.6   作者: richardingding

Polynomials.函数集合  
  roots   -   Find   polynomial   roots.  
  poly   -   Convert   roots   to   polynomial.  
  polyval   -   Evaluate   polynomial.  
  polyvalm   -   Evaluate   polynomial   with   matrix   argument.  
  residue   -   Partial-fraction   expansion   (residues).  
  polyfit   -   Fit   polynomial   to   data.  
  polyder   -   Differentiate   polynomial.  
  conv   -   Multiply   polynomials.  
  deconv   -   Divide   polynomials.  
  你自己用   help   命令看看,这是拟合的函数集合,看看其具体功能吧

NO.7   作者: lefo

to:楼主  
  我是在去年搞数学建模的时候用的MATLAB,现在时过境迁了,只有大概映象了,不好意思

NO.8   作者: lefo

yun  
  Matlab   Curve   Fitting   Toolbox  
   
  Opening   the   Curve   Fitting   Tool  
   
  The   Curve   Fitting   Tool   is   a   graphical   user   interface   (GUI)   that   allows   you   to  
   
  Visually   explore   one   or   more   data   sets   and   fits   as   scatter   plots.    
  Graphically   evaluate   the   goodness   of   fit   using   residuals   and   prediction   bounds.    
  Access   additional   interfaces   for    
  Importing,   viewing,   and   smoothing   data    
  Fitting   data,   and   comparing   fits   and   data   sets    
  Marking   data   points   to   be   excluded   from   a   fit    
  Selecting   which   fits   and   data   sets   are   displayed   in   the   tool    
  Interpolating,   extrapolating,   differentiating,   or   integrating   fits    
   
  You   open   the   Curve   Fitting   Tool   with   the   cftool   command.  
   
  cftool  
   
   
  来自www.mathworks.com  
  简单的说就是在命令窗口输入  
  cftool  
  回车搞定  
   
  我已经不研究matlab了,楼主还是好好找本参考书吧

NO.9   作者: benq2003

我参与的项目中用到了用matlab作的算法。  
   
  用matlab作成函数,留好接口,然后matlab中打包成dll。  
   
  命令行用注册自己做成的dll,然后再在c#中引用就能使用了。


    摘要: 我在datagrid的某列中,使用dataformatstring="{0:d}"可以将长日期型转成简化型. 查了msdn,发现d是代表日期中的某一天~可这里怎么成了简化日期了呢? 在msdn中查不到像{0:xxx}的用法.哪位知道,给个连接! ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE