Results 1 to 3 of 3

Math Help - Matlab question

  1. #1
    Banned
    Joined
    Oct 2008
    Posts
    15

    Matlab question

    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?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Member Maccaman's Avatar
    Joined
    Sep 2008
    Posts
    85
    Put your MATLAB code up
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Banned
    Joined
    Oct 2008
    Posts
    15
    It is ok I have solved it now, I wasn't setting up the arrays in the best way.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Question in MATLAB
    Posted in the Math Software Forum
    Replies: 17
    Last Post: December 27th 2011, 02:57 PM
  2. Question in matlab
    Posted in the Advanced Math Topics Forum
    Replies: 2
    Last Post: January 4th 2011, 03:53 AM
  3. Need help with MATLAB question
    Posted in the Math Software Forum
    Replies: 1
    Last Post: February 4th 2010, 04:20 AM
  4. matlab question.need help :(
    Posted in the Math Software Forum
    Replies: 0
    Last Post: October 7th 2009, 07:58 AM
  5. A Matlab Question
    Posted in the Math Software Forum
    Replies: 2
    Last Post: August 8th 2009, 01:02 AM

Search Tags


/mathhelpforum @mathhelpforum