hi all, i want to check a number in the array.i have created an array and i want to know that a whether a perticular number belongs to the array or not. is there any inbuild function for "belongs to" in matlab. can anybody help me?
i guess "ismember" is for vectors,nor for array.but i am intrested to check whether a number belongs to an array or not.can you please give me an idea?
If the array is large and the searched element is found early, Matlab wastes a lot of time by searching the rest of the array. Then this C-Mex is faster:FEX: anyEq.
assume i have many group of array that i want to check it contain 5 whether or not ha within loop. For example: first time, i check A array that it contain 5 yes or not and next, i check B and C, respectively. How i can modify your code? please show sample.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
0 Comments
Sign in to comment.