I have a an array of type complex. I am trying to assign a value to it in a loop, but I get a strange error(adsbygoogle = window.adsbygoogle || []).push({}); "Unclassifiable statement at (1)". I really don't understand why.

thanks.Code (Text):

do t = 1, count

real(in(t)) = cos(2 * pi * f0 * t)

aimag(in(t))=sin(2 * pi * f0 * t)

end do

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Fortran complex array assignment

Loading...

Similar Threads for Fortran complex array | Date |
---|---|

Fortran Runtime error 112 | Oct 17, 2015 |

Fortran [Fortran] Help Reading Complex 2D data | Jul 14, 2015 |

Fortran Mesh 2d of a complex geometry with FORTRAN | Jun 29, 2015 |

Fortran [Fortran] Quick question about complex exponentials | Jun 11, 2015 |

Fortran, complex array with rank one | Sep 19, 2009 |

**Physics Forums - The Fusion of Science and Community**