Recent content by tomg10000

  1. T

    Comp Sci Basic fortran help: reading columns of data from a text file

    Hi everybody, I have 3 columns of data (3 different variables) and 400 rows. How would I set up a matrix/array sort of thing to read each row individually and store it in my fortran program to calculate equations at each step? What I have basically tried and can't get to work, I think it...
  2. T

    MATLAB How Do You Plot Complex Equations in MATLAB?

    thanks, i got it working, just needed to correct some bracketing.
  3. T

    MATLAB How Do You Plot Complex Equations in MATLAB?

    Hi, I am trying to write a short MATLAB program that plots concentration vs distance (oxygen sag curve from two different bod sources in a river). I know the equation I am using is: C= Cs - [(kd*Mo)*(exp(-x*kr/u)-exp(-x*ka/u))/(Q*ka-kr)] - (Cs-Co)*exp(-x*ka/u) -...
Back
Top