displaying result using lines

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

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 7 de Sept. de 2012
Editada: Azzi Abdelmalek el 7 de Sept. de 2012

0 votos

for k=1:numel(gene) %gene your cell array
A=gene{k};A{1,end}=[A{1,end} ' -------->'];
result{k}=A
end
result{:}

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

Pat
el 7 de Sept. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by