How can I do this in Mathematica:
r=Range[0,20,0.13];
fr = HeavisideTheta[r];
data = somecoolfunctionsinmathematica[r,fr]
So that data now is in the form useful to Fit: {{r_1,fr_1},{r_2,fr_2},...}
Thanks!
How can I do this in Mathematica:
r=Range[0,20,0.13];
fr = HeavisideTheta[r];
data = somecoolfunctionsinmathematica[r,fr]
So that data now is in the form useful to Fit: {{r_1,fr_1},{r_2,fr_2},...}
Thanks!
This is the correct way to use
Tableif you prefer it toMap: