MATLAB: Extract Vector’s index from Matrix matrixvector Hello, I have a matrix M size(M)=n*2 and a Vector V size(V)=n*1 in the fist colomn of M we find some indexes of V I want to extract the indexes of V which are not used in M. is that possible? thank you Best Answer ismember function might be helpful. Related SolutionsMATLAB: How to increment matrix elements using vectors of indexes A = A + accumarray([M(:),N(:)],1,size(A)); MATLAB: Indexing multidimensional matrices with elements is a vector V=num2cell(V);matrix(V{:}) Related QuestionSummation with resultant vector’s index as upper limitUsing Nx1 vector as index to extract values from an NxM matrix and create an Nx1 vectorHow to index a vector based on the vector’s valuesDouble indexed recurrence relationHow to find a vector’s location in another vector
Best Answer