回 帖 发 新 帖 刷新版面

主题:Error with curfit

OPEN(11,file='test.dat',status="old",action='read',iostat=error)
  if(error/=0)then
   write(*,*)"open test.dat fail"
   stop
  end if
 
  do l=-ni,ni
   read(11,'(2(f9.6,3x))',END=20)xi(l),yi(l),s
  end do
20 continue


  call LSQUnivariateSpline(xi,yi,xn,xo,yo,wi,k,ni,nn,no,ier)


OPEN(10,file='testo.dat')
  do l=-no,no
  WRITE(10,'(2(f9.6,3x))')xo(l),yo(l)
  end do
CLOSE(10)

回复列表 (共2个回复)

沙发

楼主, 如果你的系统不支持中文编码可否在office或者其他工具上试试编码转换?
你数据也没给出来, curfit错误我也没碰到过, 想反馈一下你又要开新帖了. 那没办法讨论了.

板凳


the problem has been solved now.
thanks all the same

我来回复

您尚未登录,请登录后再回复。点此登录或注册