Results 1 to 1 of 1

Math Help - I need help with MatLab!!

  1. #1
    Newbie
    Joined
    Mar 2012
    From
    Scotland
    Posts
    2

    I need help with MatLab!!

    Hi, I have to use Matlab for numerical analysis and don't have a clue how to use it or what to do.
    Was wondering if I could get some help with this:

    Consider a population of a very large number M of individuals. The
    distribution n(s) representing their height (in meters) is given by a Gauss
    function characterised by the mean value h (hbar) of the height and the standard
    deviation (sigma)

    n(s) = (M/sigma*(sqrt(2pi))*exp(-(s-hbar).^2/2/sigma^2)

    This means that

    N[h,h+h] =Integral of n(s) ds with limits of (h,h+h)

    is the number of individuals whose height is between h and h > 0.

    (a) Write a Matlab M-function with 6 input

    two heights H1 and H2,

    the standard deviation, the mean and the total number of individuals,

    an even number (the number of sub-intervals),

    and 2 outputs, the total number of individuals between the heights H1
    and H2 computed by both CTR and CSR.

    Thanks, emcg22
    Last edited by emcg22; March 15th 2012 at 09:39 AM.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Matlab Help!
    Posted in the Math Software Forum
    Replies: 0
    Last Post: April 18th 2010, 07:51 PM
  2. Matlab Help!
    Posted in the Math Software Forum
    Replies: 12
    Last Post: April 14th 2010, 08:46 AM
  3. MATLAB
    Posted in the Math Software Forum
    Replies: 0
    Last Post: September 22nd 2008, 03:00 PM
  4. MATLAB
    Posted in the Math Software Forum
    Replies: 1
    Last Post: September 21st 2008, 10:29 PM
  5. Matlab help
    Posted in the Math Software Forum
    Replies: 4
    Last Post: September 21st 2008, 10:26 PM

Search Tags


/mathhelpforum @mathhelpforum