This shows you the differences between two versions of the page.

Link to this comparison view

reference:match_val [2018/08/23 14:43] (current)
Line 1: Line 1:
 +=====  MATCH_VAL =====
 +Note that this reference documentation is identical to the help that is displayed in MATLAB when you type "help match_val"​.
 +  <a href=/​reference/​match_val><​font color=green>​MATCH_VAL</​font></​a>​ looks for matching values in two arrays of values
 +  and returns the indices into both the 1st and 2nd list of the matches.
 +  They will be ordered according to the first input argument.
 +  Use as
 +    [sel1, sel2] = match_str(vallist1,​ vallist2)
 +  See also <a href=/​reference/​match_str><​font color=green>​MATCH_STR</​font></​a>​