Recent content by sosolid
-
S
Rainfall Data Output to .txt File
It does not work; this is my code if month(i)~=month(i-1); Totmonth=[Totmonth,month(i-1)]; TotRain=[TotRain,sum(Rainfall)]; Totyear=[Totyear,year(i-1)]; F=TotRain'; T=Totyear'; m=[T F]; id = fopen('TEST.txt', 'wt')...- sosolid
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
Rainfall Data Output to .txt File
I am trying to write data to a .txt file and want each set of data in a column, so I want 2 columns. However I am currently only getting the entire data set in one big column. I am trying to output the year and the rainfall for that year into a .txt file. Can anyone help me with this?- sosolid
- Thread
- Data File Output
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
Graduate Finding Range of Projectile Under Air Resistance
I have made a program in Matlab to plot the path of a projectile with air resistance, however, I am lost as to how to obtain an equation for the range. I have found my displacements in the x and y direction by solving second order differential equations, it would be far too difficult to set the...