Search results

  1. J

    MATLAB Matlab if statements and extracting rows of data

    % Ok, so say your matrix looks like this: x=[1,2,0.1;3,4,0.5;5,6,0.9;7,8,0.76;9,10,1.2] x = 1.0000 2.0000 0.1000 3.0000 4.0000 0.5000 5.0000 6.0000 0.9000 7.0000 8.0000 0.7600 9.0000 10.0000 1.2000 % Define what you want to say is low velocity...
  2. J

    MATLAB Matlab indexing within a matrx

    So I have a dataset... I am trying to use lets say values in column 1 to determine which values I need to plot from columns 5 and 6... Reading about indexing in a matrix doesn't really help as it doesn't hint at how you might use values in one column to select values from another set of...
  3. J

    MATLAB Matlab max and min of a matrix

    Hi, I want to find the maximum and minimum values of a column in a matrix. I have a 4 column, 100 row matrix and need the minimum and maximum value in the 4th column. I need this to be extracted along with the other values of that row. Can anyone help?
  4. J

    MATLAB Matlab if statements and extracting rows of data

    There may be a simple solution (I'm guessing so), but I've been trying for ages now and can't seem to figure it out... I have a matrix of data in Matlab, 4 columns by 1000 rows. I need to evaluate that data... I need to find answers in column 3 which lie between 0.9998 and 1. I want to...