Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
eleminating first value in pair
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
i have some values
fn1=
{837x3 cell}
{836x3 cell}
{835x3 cell}
{834x3 cell}
;
;
{4x3 cell}
{3x3 cell}
{2x3 cell}
{1x3 cell}
inside each cell i have values like for example
fn{1,1}
'Genes' 'T0&T2' 'T2&T4' 'T4&T6'
'YAR029W' 'dd' 'dd' 'du'
'YAR062W' 'du' 'ud' 'du'
'YAR068W' 'du' 'uu' 'uu'
'YBL095W' 'du' 'ud' 'du'
'YBL111C' 'uu' 'ud' 'du'
;
;
another
fn{8,1}
'Genes' 'T0&T2' 'T2&T4' 'T3&T5'
'YBR074W' 'du' 'ud' 'uu'
'YBR096W' 'uu' 'ud' 'ud'
'YBR138C' 'du' 'ud' 'du'
'YBR235W' 'ud' 'dd' 'ud'
'YBR239C' 'dd' 'dd' 'du'
'YBR241C' 'du' 'uu' 'uu'
'YBR255W' 'dd' 'dd' 'du'
now i need to change only first row value for all combination
another matrix has first row values as
row={
'YAR029W' 'd' 'd' 'd'
'YBR074W' 'd' 'u' 'u'}
'Genes' 'T0&T2' 'T2&T4' 'T4&T6'
'YAR029W' 'd' 'd' 'd'
'YAR062W' 'du' 'ud' 'du'
'YAR068W' 'du' 'uu' 'uu'
'YBL095W' 'du' 'ud' 'du'
'YBL111C' 'uu' 'ud' 'du'
'Genes' 'T0&T2' 'T2&T4' 'T3&T5'
'YBR074W' 'd' 'u' 'u'
'YBR096W' 'uu' 'ud' 'ud'
'YBR138C' 'du' 'ud' 'du'
'YBR235W' 'ud' 'dd' 'ud'
'YBR239C' 'dd' 'dd' 'du'
'YBR241C' 'du' 'uu' 'uu'
'YBR255W' 'dd' 'dd' 'du'
please help i want to perform for all fn1 values
4 Kommentare
Jan
am 26 Aug. 2012
Your thread is still complicated to read. The definition of fn1 has no valid Matlab syntax and we have to guess what you mean. Afterwards the variable fn appears without a definition. The meaning of the actual question is not clear also:
now i need to change only first row value for all combination
Change what to what, what is "the first row value" and what combinations do you mean?
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!