Tag: fortran95

从fortran转换成excel文件fortran(ftn95)

我正在使用fortran f95。 我的操作系统是Windows 7,64位。 我想获得输出到Excel文件,以便我可以绘制数据。 有人知道怎么做这个吗? 您的反应非常感谢。 PS:我想输出文件包含x,f(i),fprime1,fprime2,fprime3,diff1,diff2和diff3。 代码如下所述: ** ! This program calculates the first derivative of ! a function, where f(x)= sin x. It makes use of the ! centred-difference formula using 3 values of the step size: h1, h2, h3. ! It also calculates the ! analytical first derivative of the function. […]