Student Support Forum: 'Problems making and saving lists' topicStudent Support Forum > General > "Problems making and saving lists"

 Next Comment > Help | Reply To Topic
 Author Comment/Response Javier 10/22/12 12:35pm Hello, I am not an experienced user in mathematica so maybe the answer to my question is ovbious, but I cannot find it. I define a test function: test[x_, y_] := x + y; Now, I want to make several lists (one for each x value) (x=0.1 to 0.8 in steps of 0.1)with the values of the test function for each y (y=0 to 3 in steps of 1) and then save each list as a function of the x value, so I write this: For[i = 1, i < 9, i++, Clear[TEST_i, TTEST_i]; TEST_i = Table[TTEST_i[j, j], {j, 0, 3}]; Do[TTEST_i[n, n] = {n , test[0.i, n ]}, {n, 0, 3}]; TEST_i >>> TESTT_i.dat] The problem is that I cannot give the name of the list and the table nor the name of the archive where I want to save each list as a function of i. I guess that is not even correct to give the x argument to the test function as 0.i but I do not know how to do this in mathematica. Thank you very much in advance for your answer URL: ,

 Subject (listing for 'Problems making and saving lists') Author Date Posted Problems making and saving lists Javier 10/22/12 12:35pm Re: Problems making and saving lists Bill Simpson 10/22/12 2:03pm Re: Re: Problems making and saving lists Javier 10/23/12 1:45pm Re: Re: Re: Problems making and saving lists Bill Simpson 10/23/12 7:46pm Re: Re: Re: Re: Problems making and saving lists Javier 10/24/12 2:35pm
 Next Comment > Help | Reply To Topic