Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. 25 lut 2011 · Use “isempty” and “cellfun” with the “find” function to find the empty cells. IndexC = strfind(C, 'bla' ); Index = find(not(cellfun( 'isempty' ,IndexC)))

  2. 7 sie 2013 · Accepted Answer. Jan on 7 Aug 2013. Vote. 77. Link. Edited: Jan on 7 Aug 2013. Open in MATLAB Online. Theme. Copy. C = {1,5,3,4,2,3,4,5,2,1}; index = find ( [C {:}] == 5); Here [C {:}] is a faster inlined version of cell2mat. Alternative:

  3. 9 lis 2011 · indices = find(cellfun(@(x) strcmp(x,'KU'), strs)) which has the advantage that you can easily make it case insensitive or use it in cases where you have cell array of structures: indices = find(cellfun(@(x) strcmpi(x.stringfield,'KU'), strs))

  4. Find Array Elements That Meet Conditions. This example shows how to filter the elements of an array by applying conditions to the array. For instance, you can examine the even elements in a matrix, find the location of all 0s in a multidimensional array, or replace NaN values in data.

  5. When the entire cell array or a known subset of cells contains text, you can index and pass the cells directly to any of the text processing functions in MATLAB. For instance, find where the letter t appears in each element of the first row of C.

  6. Search for Text. To determine if text is present, use a function that returns logical values, like contains, startsWith, or endsWith. Logical values of 1 correspond to true, and 0 corresponds to false. txt = "she sells seashells by the seashore"; TF = contains (txt, "sea") TF = logical 1.

  7. NR Cell Search and MIB and SIB1 Recovery. This example demonstrates how to use 5G Toolbox™ to synchronize, demodulate, and decode a live gNodeB signal. The example decodes the MIB and the first of the system information blocks (SIB1).

  1. Ludzie szukają również