<?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 Re: Join vectors using for loop in Mathcad in Mathcad</title>
    <link>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797772#M201309</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This should be Express worthy.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 643px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/57764i30884B088EF02681/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2022 14:08:45 GMT</pubDate>
    <dc:creator>terryhendicott</dc:creator>
    <dc:date>2022-05-23T14:08:45Z</dc:date>
    <item>
      <title>Join vectors using for loop in Mathcad</title>
      <link>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797612#M201288</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am quite new at programming in Mathcad.&lt;/P&gt;&lt;P&gt;I am trying to create a matrix using different vectors that are obtained based on a certain condition:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MC_9370533_1-1653234820801.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/57715iCD27B0118F6923DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MC_9370533_1-1653234820801.png" alt="MC_9370533_1-1653234820801.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made an example with vectors N and M. The idea is to reach at the end the matrix "Final".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to use a for loop function to define the final matrix taking into account that the number of rows in the vectors N and M can change (but still equal)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2022 15:58:35 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797612#M201288</guid>
      <dc:creator>MC_9370533</dc:creator>
      <dc:date>2022-05-22T15:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Join vectors using for loop in Mathcad</title>
      <link>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797615#M201289</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/470705"&gt;@MC_9370533&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I am quite new at programming in Mathcad.&lt;/P&gt;
&lt;P&gt;I am trying to create a matrix using different vectors that are obtained based on a certain condition:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MC_9370533_1-1653234820801.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/57715iCD27B0118F6923DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MC_9370533_1-1653234820801.png" alt="MC_9370533_1-1653234820801.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I made an example with vectors N and M. The idea is to reach at the end the matrix "Final".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to use a for loop function to define the final matrix taking into account that the number of rows in the vectors N and M can change (but still equal)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Perhaps something like this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022 05 22 a.png" style="width: 369px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/57717i955C936ED9AC26C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022 05 22 a.png" alt="2022 05 22 a.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stuart&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2022 16:57:15 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797615#M201289</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2022-05-22T16:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Join vectors using for loop in Mathcad</title>
      <link>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797667#M201300</link>
      <description>&lt;P&gt;check this for answer :&amp;nbsp;&lt;A href="https://www.eng-tips.com/viewthread.cfm?qid=331104" target="_blank"&gt;https://www.eng-tips.com/viewthread.cfm?qid=331104&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 07:28:53 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797667#M201300</guid>
      <dc:creator>SG_10318843</dc:creator>
      <dc:date>2022-05-23T07:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Join vectors using for loop in Mathcad</title>
      <link>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797675#M201301</link>
      <description>&lt;P&gt;Thank you for your help StuartBruff.&lt;/P&gt;&lt;P&gt;It worked perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SG_10318843 I checked that thread before, but not entirely clear.&lt;/P&gt;&lt;P&gt;Either way thank you for the reply.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 08:12:04 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797675#M201301</guid>
      <dc:creator>MC_9370533</dc:creator>
      <dc:date>2022-05-23T08:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Join vectors using for loop in Mathcad</title>
      <link>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797745#M201306</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/470705"&gt;@MC_9370533&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you for your help StuartBruff.&lt;/P&gt;
&lt;P&gt;It worked perfectly.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No worries.&amp;nbsp; &amp;nbsp;Here's a programming-free alternative that should work in Mathcad Express.&amp;nbsp; &amp;nbsp;It replicates the vectors and then applies the check function with vectorization.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022 05 23 b.png" style="width: 296px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/57759iD767D4B5C9A26322/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022 05 23 b.png" alt="2022 05 23 b.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stuart&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 13:18:10 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797745#M201306</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2022-05-23T13:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Join vectors using for loop in Mathcad</title>
      <link>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797772#M201309</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This should be Express worthy.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 643px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/57764i30884B088EF02681/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 14:08:45 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797772#M201309</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2022-05-23T14:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Join vectors using for loop in Mathcad</title>
      <link>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797788#M201310</link>
      <description>&lt;P&gt;Ignore the spam posting by SG_10318843...&lt;/P&gt;
&lt;P&gt;Here's another implementation that is a bit more general. For arbitrary length arrays, and arbitrary value of ORIGIN:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LucMeekes_0-1653317523786.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/57766i2AF737EC08D46D93/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LucMeekes_0-1653317523786.png" alt="LucMeekes_0-1653317523786.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Success!&lt;BR /&gt;Luc&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 14:54:31 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/797788#M201310</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2022-05-23T14:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Join vectors using for loop in Mathcad</title>
      <link>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/798165#M201341</link>
      <description>&lt;P&gt;Thank you Luc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Miguel,&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 20:38:29 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Join-vectors-using-for-loop-in-Mathcad/m-p/798165#M201341</guid>
      <dc:creator>MC_9370533</dc:creator>
      <dc:date>2022-05-24T20:38:29Z</dc:date>
    </item>
  </channel>
</rss>

