Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/fortran/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cocoa/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
用Fortran将结果写在两列中_Fortran_Fortran90_Fortran77 - Fatal编程技术网

用Fortran将结果写在两列中

用Fortran将结果写在两列中,fortran,fortran90,fortran77,Fortran,Fortran90,Fortran77,假设我有4个盒子。我想用Fortran语言写下从t=0到t=5s的4个方框的属性(e.x.P),它们彼此相邻,就像我所附的图中的一样。我怎么能用Fortran来做?!注意,当我写下P时,我不知道下一个时间步骤P的值 显示您遇到问题的代码。如果转置表格,则会更容易。我真的会那样做。您的表也有可用的方法,但要困难得多。但无论如何,请展示一些基本代码,不要让人们为你编写整个程序,展示你的数据声明和时间循环。如果你发布一个小示例来演示你到底在做什么,那么获得准确答案就会容易得多。给我们一个试用代码,得到

假设我有4个盒子。我想用Fortran语言写下从t=0到t=5s的4个方框的属性(e.x.P),它们彼此相邻,就像我所附的图中的一样。我怎么能用Fortran来做?!注意,当我写下P时,我不知道下一个时间步骤P的值


显示您遇到问题的代码。如果转置表格,则会更容易。我真的会那样做。您的表也有可用的方法,但要困难得多。但无论如何,请展示一些基本代码,不要让人们为你编写整个程序,展示你的数据声明和时间循环。如果你发布一个小示例来演示你到底在做什么,那么获得准确答案就会容易得多。给我们一个试用代码,得到一个改进的代码作为答案。您链接的图像没有太多说明,但它可能是一个电子表格。不管电子表格能做什么,放心Fortran都能做得更好,包括输出格式。