Community Profile

photo

Nathan Garcia


Last seen: 2 meses ago Active since 2019

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


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 ...

6 meses ago | 1 answer | 0

1

answer

Question


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)...

alrededor de 2 años ago | 1 answer | 0

1

answer