About 17,300,000 results
Open links in new tab
  1. how to select specific values in a matrix - MATLAB Answers

    Nov 18, 2013 · Hi I will give an example, I have a 10X10 matrix, I want to select the 4th value in the first row, the 7th value in the 4th row and value 5 onwards on the 3rd row, and selecting …

  2. How do I get MATLAB to extract a specific value in an array?

    I’m looking to identify the indices in column 1 when the data in column 2 is less than 105, and then extract the first actual value from column 1 that meets this criteria.

  3. Accessing Array Elements - MATLAB & Simulink - MathWorks

    To reference a particular element in an array, specify its row and column number using the following syntax, where A is the matrix variable. Always specify the row first and column second.

  4. Get values of elements at specific indices in a matlab matrix

    Feb 11, 2014 · It's as simple as doing a([2,3]) and the required values are returned! On a related note, read sub2ind. It will be useful if you have [row,col] indices stored in a 2-column matrix, …

  5. Retrieving specific elements in matlab from arrays in MATLAB

    First, the bsxfun function. This performs a function, here it is addition (@plus) on each element of a vector. Since you want elements 1:4 we make this one dimension and the other dimension …

  6. Select specific elements of an array in matlab - Stack Overflow

    How to select the N elements then ignore the next N ones and then select the next N ones and so on? b = 1,2,3,7,8,9,13,14,15,... out = out(1:N*floor(numel(a)/(2*N)) + rem(numel(a),2*N)); …

  7. How to extract values from an array? - MATLAB Answers - MATLAB

    Mar 9, 2022 · I have an array with values that repeat , is it possible to determine the start and end points of a particular value in the array. For example. the goal is to extract those values in …

  8. matlab find specific VALUES in an array - Stack Overflow

    Mar 8, 2015 · How to find out all array element indices equal to several values (>2) For example, I have an array a= [1 2 3 4 5 5 4 3 2 2 2 1], I want to know the indices of all elements equal to …

  9. How to extract values from an array and write at a specific cell …

    Nov 6, 2012 · If the first column of the array 1.txt contains a value assigned in M, then I extract the corresponding value from the second column of 1.txt and write in the cell of the matrix …

  10. How to extract certain values from an array - MATLAB Answers - MATLAB

    I would like to create a new array but only with values less than 7. How can I do this?

  11. Some results have been removed
Refresh