<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173011</link>
    <title>MATLAB Central Newsreader - { } ---&gt; [ ]</title>
    <description>Feed for thread: { } ---&gt; [ ]</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Tue, 22 Jul 2008 10:45:08 -0400</pubDate>
      <title>{ } ---&gt; [ ]</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173011#444527</link>
      <author>ching l</author>
      <description>is it possible to grab/convert the value in the cell array?&lt;br&gt;
&lt;br&gt;
s= {[1 2 3] [3 4 5]} &lt;br&gt;
&lt;br&gt;
so that it becomes &lt;br&gt;
&lt;br&gt;
s= [1, 2, 3; 3, 4, 5]</description>
    </item>
    <item>
      <pubDate>Tue, 22 Jul 2008 11:01:12 -0400</pubDate>
      <title>Re: { } ---&gt; [ ]</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173011#444534</link>
      <author>Ashwini Deshpande</author>
      <description>&quot;ching l&quot; &amp;lt;chinglnc@hotmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g64dnk$rkh$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; is it possible to grab/convert the value in the cell array?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; s= {[1 2 3] [3 4 5]} &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; so that it becomes &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; s= [1, 2, 3; 3, 4, 5]&lt;br&gt;
&lt;br&gt;
help cell2mat&lt;br&gt;
&lt;br&gt;
HTH,&lt;br&gt;
Ashwini</description>
    </item>
    <item>
      <pubDate>Tue, 22 Jul 2008 11:03:08 -0400</pubDate>
      <title>Re: { } ---&gt; [ ]</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173011#444536</link>
      <author>Felipe Orihuela-Espina</author>
      <description>&quot;ching l&quot; &amp;lt;chinglnc@hotmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g64dnk$rkh$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; is it possible to grab/convert the value in the cell array?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; s= {[1 2 3] [3 4 5]} &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; so that it becomes &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; s= [1, 2, 3; 3, 4, 5]&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Try cell2mat&lt;br&gt;
&lt;br&gt;
cheers&lt;br&gt;
&lt;br&gt;
FOE</description>
    </item>
    <item>
      <pubDate>Tue, 22 Jul 2008 11:36:17 -0400</pubDate>
      <title>Re: { } ---&gt; [ ]</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173011#444549</link>
      <author>Yumnam Kirani Singh</author>
      <description>Simply we can try the foloowing trick&lt;br&gt;
&amp;gt;&amp;gt;m=[s{1,1};s{1,2}]&lt;br&gt;
m =&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1     2     3&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3     4     5</description>
    </item>
    <item>
      <pubDate>Tue, 22 Jul 2008 11:52:01 -0400</pubDate>
      <title>Re: { } ---&gt; [ ]</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173011#444551</link>
      <author>Bruno Luong</author>
      <description>or&lt;br&gt;
&lt;br&gt;
cat(1,s{:})&lt;br&gt;
&lt;br&gt;
% Bruno</description>
    </item>
    <item>
      <pubDate>Tue, 22 Jul 2008 11:56:57 -0400</pubDate>
      <title>Re: { } ---&gt; [ ]</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173011#444553</link>
      <author>Loren Shure</author>
      <description>In article &amp;lt;g64dnk$rkh$1@fred.mathworks.com&amp;gt;, chinglnc@hotmail.com &lt;br&gt;
says...&lt;br&gt;
&amp;gt; is it possible to grab/convert the value in the cell array?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; s= {[1 2 3] [3 4 5]} &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; so that it becomes &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; s= [1, 2, 3; 3, 4, 5]&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
s = {[1 2 3] [4 5 6]}&lt;br&gt;
snew = [s{:}]&lt;br&gt;
s = &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[1x3 double]    [1x3 double]&lt;br&gt;
snew =&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1     2     3     4     5     6&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Loren&lt;br&gt;
&lt;a href=&quot;http://blogs.mathworks.com/loren/&quot;&gt;http://blogs.mathworks.com/loren/&lt;/a&gt;</description>
    </item>
  </channel>
</rss>

