How do i retrieve columns headers from table based on condition value in matlab?

조회 수: 1 (최근 30일)
ahmed obaid
ahmed obaid 2017년 7월 27일
편집: ahmed obaid 2017년 7월 27일
Dear experiences
i have a table in matlab where this table is dissimilarity table.. and look like the following structure:
Name1 Name2 Name3....
Name1 1 0.5 0.2
Name2 value value value
Name3 ....................
etc...
  • then, Name1, Name2 ...etc are patterns, so if i need now to read the query about these names look like
  • query="Name1" ; and
  • Value= 0.5 ;
  • then from the above table... the result perhaps retrieve in cell array, look like,
  • result={Name1, Name2},where these columns have values greater than or equal to 0.5
  • and for a given query such that
  • query="Name2" ; and
  • Value= 0.3 ;
  • result={whatever columns headers have values greater than or equal to 0.3}, and so on for others...

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by