Hi, I am solving some problems on radioactivity in matlab and I am stuck. I can do everything the question asks for but not using the method that is required. I have 3 decay equations. The only variable in these is time as I have values for the initial numbers of atoms and for the deacy constant already.

I know how to use range values to create the times that I need, and then know how to create the graphs and tables I need. The problem is that I need to be able to arrange my worksheet in such a way that the number of data points and the number of start and finish times (hence the time interval) can be varied.

I tried to do it like this t:S,I;F

I thought this would allow me to keep redefining the values S, I and F as I move down the sheet to allow me to generate the required answers from my equations (that are in terms of time,t), however this doesn't seem to work.

What am I doing wrong?