Recent content by chendry2001

  1. C

    MATLAB MATLAB: Marginal Distribution Plot

    thanks. it was more about finding the parameters of the distribution than the 2 plots on the side of the graph. But i can prob draw a vertical histogram now and add a probability distribution line and establish the values from that. Should work Thanks for your help!
  2. C

    MATLAB MATLAB: Marginal Distribution Plot

    Hi I am trying to find a way to create a marginal distribution plot in matlab. I have lots of X-Y values on a scatter plot and need to find the approximate distribution. I have the Statistics Toolbox which is probably needed. I used POLYTOOL which gives me a mean and standard deviation...
  3. C

    MATLAB MATLAB: Running only a certain section of an m-file

    Think that's what I'll do. I'm creating an addon to an existing piece of code, so ideally people could update that original m-file and my addon would still work fine. As I am going to create a copy of the original code, 2 m-files will now have to be updated in order for my addon to work...
  4. C

    MATLAB MATLAB: Running only a certain section of an m-file

    Yes, that would work, but again I would be changing the original file which I'm trying to avoid. Is there something like a "goto" command or similar?
  5. C

    MATLAB Combining 2 two-dimensional cell arrays in MATLAB

    ok, thanks. it worked using this for i = 1:51 [nodes{i}] = [n_cbc{i};n_load{i}]; end
  6. C

    MATLAB MATLAB: Running only a certain section of an m-file

    Hi I have an m-file which accesses another m-file at some point, but I don't want it to run the entire file. Is there a way to skip the first and last 10 lines of the file? I could just create a new file with the code I need, but this is like an addon to a programme, so if I could leave the...
  7. C

    MATLAB Combining 2 two-dimensional cell arrays in MATLAB

    Hi I'm quite new to MATLAB and I'm stuck on a problem which I think is probably relatively simple. Any help much appreciated! Right, I have 2 cells, both of dimension 51x1 called n_cbc and n_load. Each of the 51 rows in the n_cbc cell contains a 5x1 matrix. Each of the 51 rows in the...
Back
Top