From: Saad on 9 Dec 2006 14:51 How can I convert 1x3 cell array A = {'ab' 'cd' 'ef'} to string? I want to print cell array A on screen horizontally by text(X,Y,A) where X and Y are x and y co-ordinates and A is cell array. At the moment it is printing vertically on screen.
From: us on 9 Dec 2006 15:38 Saad: <SNIP cellstr2str... some of the solutions a={'ab','cde','fghi'}; as1=char(a) % note: a char mat as2=cat(2,a{:}) % note: no spaces between cells as3=sprintf('%s|',a{:}); % the most versatile as3(end)='' us
|
Pages: 1 Prev: Network size (using newff) Next: loonking for examples MATLAB LDPC function for version 2006b |