eleminating first value in pair
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
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 个评论
per isakson
2012-8-23
Pat
2012-8-26
Jan
2012-8-26
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?
Pat
2012-8-26
回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!