help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strsplit on cell of strings


From: Chengqi Chang
Subject: Re: strsplit on cell of strings
Date: Sun, 10 Oct 2010 20:08:21 +0800
User-agent: Opera Mail/10.70 (Win32)

在 Sun, 10 Oct 2010 18:30:04 +0800,<address@hidden> 写道:

Hi,

strplit(c, ';')

doesn't work apparently if c is a cell of strings.
how can I do a strsplit on a cell of strings?


Results=cellfun(@strsplit,c,repmat({';'},size(c)),'UniformOutput',0);

--
Best Regards
-----------------------
Yours Sincerely                    Chengqi Chang
China Center for Economic Research
http://blog.macro2.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]