displaying result using lines

3 Ansichten (letzte 30 Tage)
Pat
Pat am 7 Sep. 2012
I have values as
ans =
'YPL245W' d
'YOL083W' 'uu'
'YOL107W' 'uu'
'YOR131C' 'uu'
ans =
'YPL245W' d
'YOL083W' 'uu'
'YOL107W' 'uu'
'YOR131C' 'uu'
Is it possible ti display as
ans =
'YPL245W' d -------->
'YOL083W' 'uu'
'YOL107W' 'uu'
'YOR131C' 'uu'
ans =
'YPL245W' d -------->
'YOL083W' 'uu'
'YOL107W' 'uu'
'YOR131C' 'uu'
I want to draw------>in first row
please help

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 7 Sep. 2012
Bearbeitet: Azzi Abdelmalek am 7 Sep. 2012
for k=1:numel(gene) %gene your cell array
A=gene{k};A{1,end}=[A{1,end} ' -------->'];
result{k}=A
end
result{:}

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by