<?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 to concatenate identical matrices in memory? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-concatenate-identical-matrices-in-memory/m-p/602416#M80581</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, how to concatenate the two matrices:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;mat1=[1.05 0.17 1.64 ., 2.06 0.81 0.63 ., 0.23 1.87 1.24 -8, 0.72 0.42 0.43 -8, 0.59 0.17 0.67 -8];

mat2=[2.78 0 0.59 -8, 1.85 . 1.24 -8, 1.19 0.86 0.75 8]&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 08 Jun 2023 16:35:05 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2023-06-08T16:35:05Z</dc:date>
    <item>
      <title>How to concatenate identical matrices in memory?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-concatenate-identical-matrices-in-memory/m-p/602416#M80581</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, how to concatenate the two matrices:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;mat1=[1.05 0.17 1.64 ., 2.06 0.81 0.63 ., 0.23 1.87 1.24 -8, 0.72 0.42 0.43 -8, 0.59 0.17 0.67 -8];

mat2=[2.78 0 0.59 -8, 1.85 . 1.24 -8, 1.19 0.86 0.75 8]&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:35:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-concatenate-identical-matrices-in-memory/m-p/602416#M80581</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-06-08T16:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate identical matrices in memory?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-concatenate-identical-matrices-in-memory/m-p/602431#M80582</link>
      <description>&lt;P&gt;You'll use the vertical concatenation operator since they have the same number of columns.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;mat1 = [1.05 0.17 1.64 .,
2.06 0.81 0.63 .,
0.23 1.87 1.24 -8,
0.72 0.42 0.43 -8,
0.59 0.17 0.67 -8];

mat2 = [2.78 0 0.59 -8,
1.85 . 1.24 -8,
1.19 0.86 0.75 8];

result = mat1 |/ mat2;

show( mat1, mat2, result );

/*
mat1 = 
[	1.05 0.17 1.64 ., 
	2.06 0.81 0.63 ., 
	0.23 1.87 1.24 -8, 
	0.72 0.42 0.43 -8, 
	0.59 0.17 0.67 -8];
mat2 = 
[	2.78 0 0.59 -8, 
	1.85 . 1.24 -8, 
	1.19 0.86 0.75 8];
result = 
[	1.05 0.17 1.64 ., 
	2.06 0.81 0.63 ., 
	0.23 1.87 1.24 -8, 
	0.72 0.42 0.43 -8, 
	0.59 0.17 0.67 -8, 
	2.78 0 0.59 -8, 
	1.85 . 1.24 -8, 
	1.19 0.86 0.75 8];
*/&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;|/ is vertical, || is horizontal, but you have different number of rows, so horizontal will not work.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 03:14:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-concatenate-identical-matrices-in-memory/m-p/602431#M80582</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-02-17T03:14:02Z</dc:date>
    </item>
  </channel>
</rss>

