<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.nl/matlabcentral/newsreader/view_thread/289900</link>
    <title>MATLAB Central Newsreader - making a table</title>
    <description>Feed for thread: making a table</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2013 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.nl/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sun, 22 Aug 2010 22:27:06 +0000</pubDate>
      <title>making a table</title>
      <link>http://www.mathworks.nl/matlabcentral/newsreader/view_thread/289900#773530</link>
      <author>J G</author>
      <description>Is it possible to have output data directly entered into a table?  I have a loop which produces a series of vectors (one for every time the loop is run), eg.&lt;br&gt;
&lt;br&gt;
1      2      3      4&lt;br&gt;
&lt;br&gt;
5       6      7       8&lt;br&gt;
&lt;br&gt;
etc. lets say for 100 times, and I would like this to be directly entered into a table every time the loop spits out another vector (the same table), ie. with 4 columns, 100 rows.  </description>
    </item>
    <item>
      <pubDate>Sun, 22 Aug 2010 22:51:42 +0000</pubDate>
      <title>Re: making a table</title>
      <link>http://www.mathworks.nl/matlabcentral/newsreader/view_thread/289900#773534</link>
      <author>dpb</author>
      <description>J G wrote:&lt;br&gt;
&amp;gt; Is it possible to have output data directly entered into a table?  I &lt;br&gt;
&amp;gt; have a loop which produces a series of vectors (one for every time the &lt;br&gt;
&amp;gt; loop is run), eg.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 1      2      3      4&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 5       6      7       8&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; etc. lets say for 100 times, and I would like this to be directly &lt;br&gt;
&amp;gt; entered into a table every time the loop spits out another vector (the &lt;br&gt;
&amp;gt; same table), ie. with 4 columns, 100 rows. &lt;br&gt;
&lt;br&gt;
Assuming a "table" is simply a 2D array (matrix)&lt;br&gt;
&lt;br&gt;
x = zeros(100,4);&lt;br&gt;
for idx = 1:length(x)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;x(idx,:) = your_function_output(whatever_its_input);&lt;br&gt;
end&lt;br&gt;
&lt;br&gt;
--</description>
    </item>
    <item>
      <pubDate>Sun, 22 Aug 2010 23:09:16 +0000</pubDate>
      <title>Re: making a table</title>
      <link>http://www.mathworks.nl/matlabcentral/newsreader/view_thread/289900#773536</link>
      <author>Walter Roberson</author>
      <description>On 22/08/10 5:27 PM, J G wrote:&lt;br&gt;
&amp;gt; Is it possible to have output data directly entered into a table?  I&lt;br&gt;
&amp;gt; have a loop which produces a series of vectors (one for every time the&lt;br&gt;
&amp;gt; loop is run), eg.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 1 2 3 4&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; 5 6 7 8&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; etc. lets say for 100 times, and I would like this to be directly&lt;br&gt;
&amp;gt; entered into a table every time the loop spits out another vector (the&lt;br&gt;
&amp;gt; same table), ie. with 4 columns, 100 rows.&lt;br&gt;
&lt;br&gt;
In MATLAB, "table" is used with respect to several technologies that are &lt;br&gt;
internally quite different. Could you be more specific about what you &lt;br&gt;
are wanting to do? For example, is this a question about uitable, or is &lt;br&gt;
it a question about connecting to an SQL server?</description>
    </item>
    <item>
      <pubDate>Sun, 22 Aug 2010 23:21:05 +0000</pubDate>
      <title>Re: making a table</title>
      <link>http://www.mathworks.nl/matlabcentral/newsreader/view_thread/289900#773543</link>
      <author>J G</author>
      <description>Sorry, I meant a uitable. Thanks</description>
    </item>
    <item>
      <pubDate>Sun, 22 Aug 2010 23:42:04 +0000</pubDate>
      <title>Re: making a table</title>
      <link>http://www.mathworks.nl/matlabcentral/newsreader/view_thread/289900#773549</link>
      <author>Walter Roberson</author>
      <description>On 22/08/10 6:21 PM, J G wrote:&lt;br&gt;
&amp;gt; Sorry, I meant a uitable. Thanks&lt;br&gt;
&lt;br&gt;
Please see &lt;br&gt;
&lt;a href="http://www.mathworks.com/matlabcentral/newsreader/view_thread/281187"&gt;http://www.mathworks.com/matlabcentral/newsreader/view_thread/281187&lt;/a&gt; for &lt;br&gt;
information on doing direct uitable updates.&lt;br&gt;
&lt;br&gt;
You might have some logistic difficulties with respect to the entries &lt;br&gt;
that you have not really initialized yet.</description>
    </item>
  </channel>
</rss>
