Sort column based on value in another column (sort rows by column values a>b>c)
I am using the function [E,index] = sortrows(A,'descend'); This sorts the first column by row value and also secondarily sorts ...
5 meses ago | 1 answer | 0
Indexing numbers for 2 or more specific values in a vector?
How can I find the index numbers for 2 or more specific values in a vector called vec? Something like h=find(vec==26 & vec==437)...
casi 2 años ago | 1 answer | 0