displaying result using lines

3 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by