<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How should elements in a matrix be represented using variables? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-should-elements-in-a-matrix-be-represented-using-variables/m-p/906201#M106459</link>
    <description>&lt;DIV data-container=""&gt;&lt;SPAN data-expression=""&gt;How should elements in a matrix be represented using variables? For example, in following JSL, [1 -3] works properly, but [1 a] causes an error. How can this be fixed?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Word( [1 -3], "This is an apple", " " );
a=-3;

Word( [1 a], "This is an apple", " " );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Oct 2025 07:59:35 GMT</pubDate>
    <dc:creator>BabyDoragon</dc:creator>
    <dc:date>2025-10-07T07:59:35Z</dc:date>
    <item>
      <title>How should elements in a matrix be represented using variables?</title>
      <link>https://community.jmp.com/t5/Discussions/How-should-elements-in-a-matrix-be-represented-using-variables/m-p/906201#M106459</link>
      <description>&lt;DIV data-container=""&gt;&lt;SPAN data-expression=""&gt;How should elements in a matrix be represented using variables? For example, in following JSL, [1 -3] works properly, but [1 a] causes an error. How can this be fixed?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
Word( [1 -3], "This is an apple", " " );
a=-3;

Word( [1 a], "This is an apple", " " );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 07:59:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-should-elements-in-a-matrix-be-represented-using-variables/m-p/906201#M106459</guid>
      <dc:creator>BabyDoragon</dc:creator>
      <dc:date>2025-10-07T07:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: How should elements in a matrix be represented using variables?</title>
      <link>https://community.jmp.com/t5/Discussions/How-should-elements-in-a-matrix-be-represented-using-variables/m-p/906233#M106461</link>
      <description>&lt;P&gt;Depending what you are trying to do, you can build it from a list for example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

a =-3;

l = Eval List({1, a});

Word(Matrix(l)`, "This is an apple", " " );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Oct 2025 09:35:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-should-elements-in-a-matrix-be-represented-using-variables/m-p/906233#M106461</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-10-07T09:35:19Z</dc:date>
    </item>
  </channel>
</rss>

