<?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 Extract segment lengths&amp;quot;L&amp;quot; of last iteration MC-P11 in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044444#M219666</link>
    <description>&lt;P&gt;Hello All,&lt;BR /&gt;I have attached MC-P11 sheets. How can I&amp;nbsp; extract the segment lengths values "L" out of last iterations of this following function. There are two conditions as you can see in subsequent calculations:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1. For Element B in Compression, comp="B"&lt;BR /&gt;2. For element C in compression, comp="C"&lt;BR /&gt;"L" values can be different or same depending on above conditions&amp;nbsp; and&amp;nbsp; segment lengths.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SFares_0-1763756397631.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131463i7054BFECB29D85B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SFares_0-1763756397631.png" alt="SFares_0-1763756397631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Sam&lt;/P&gt;</description>
    <pubDate>Fri, 21 Nov 2025 20:28:31 GMT</pubDate>
    <dc:creator>SFares</dc:creator>
    <dc:date>2025-11-21T20:28:31Z</dc:date>
    <item>
      <title>Extract segment lengths"L" of last iteration MC-P11</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044444#M219666</link>
      <description>&lt;P&gt;Hello All,&lt;BR /&gt;I have attached MC-P11 sheets. How can I&amp;nbsp; extract the segment lengths values "L" out of last iterations of this following function. There are two conditions as you can see in subsequent calculations:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1. For Element B in Compression, comp="B"&lt;BR /&gt;2. For element C in compression, comp="C"&lt;BR /&gt;"L" values can be different or same depending on above conditions&amp;nbsp; and&amp;nbsp; segment lengths.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SFares_0-1763756397631.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131463i7054BFECB29D85B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SFares_0-1763756397631.png" alt="SFares_0-1763756397631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Sam&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 20:28:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044444#M219666</guid>
      <dc:creator>SFares</dc:creator>
      <dc:date>2025-11-21T20:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Extract segment lengths"L" of last iteration MC-P11</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044460#M219672</link>
      <description>&lt;P&gt;Its not clear to me what you are trying to achieve.&lt;/P&gt;
&lt;P&gt;If your function should return "L" (which is a 11x1 vector) the you simply replace the return value "Eff_Properties" by "L".&lt;/P&gt;
&lt;P&gt;In case you want return both you may return a 1x2 matrix consisting of "L" and&amp;nbsp; "Eff_Properties".&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1763777375271.png" style="width: 705px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131467i4ED835EACAA8528F/image-dimensions/705x326?v=v2" width="705" height="326" role="button" title="Werner_E_0-1763777375271.png" alt="Werner_E_0-1763777375271.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You may assign the function output a 1x2 vector of variables as well if needed:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1763777487751.png" style="width: 735px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131468iA1F21037728EC0AD/image-dimensions/735x197?v=v2" width="735" height="197" role="button" title="Werner_E_1-1763777487751.png" alt="Werner_E_1-1763777487751.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Nov 2025 02:11:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044460#M219672</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-11-22T02:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Extract segment lengths"L" of last iteration MC-P11</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044647#M219708</link>
      <description>&lt;P&gt;Hello Werner,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;BR /&gt;What&amp;nbsp; I am trying to accomplish is to have the effective area which is the sum of L*t included in my effective properties or have it report the vector L&amp;nbsp; of the last iteration then i will compute the effective area.&amp;nbsp; When i did what you suggested [ L&amp;nbsp; Effect_Properties] i was not getting an answer, as you're showing. I was getting the size of two matrices. What Ii did is the following, as shown below, and on page 4 of the sheet, is adding the term highlighted in yellow&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SFares_0-1763989276937.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131528i47D6016D36BBCF06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SFares_0-1763989276937.png" alt="SFares_0-1763989276937.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;On page 5, Draft view, is iterating in a manual way. As i mentioned before, i can have the variable "comp" equal to B or C. Is my approach correct? Also it will be good to report the last&amp;nbsp; L vector too. I have attached my latest sheet.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sam&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 13:20:36 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044647#M219708</guid>
      <dc:creator>SFares</dc:creator>
      <dc:date>2025-11-24T13:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Extract segment lengths"L" of last iteration MC-P11</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044654#M219709</link>
      <description>&lt;P&gt;You saw just the size of the two matrices because Prime per default does so in case of nested matrices.&lt;/P&gt;
&lt;P&gt;You have to change that behaviour, either for the whole sheet or just for one region by unchecking the option "Collapse Nested Matrices":&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1763993138817.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131531iFCDF005367415AF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Werner_E_0-1763993138817.png" alt="Werner_E_0-1763993138817.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As t seems to be a constant (0.1) which does not change you may return t*sum of L as the second return value.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1763993443745.png" style="width: 475px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131532i02AA34BC16441D03/image-dimensions/475x183?v=v2" width="475" height="183" role="button" title="Werner_E_1-1763993443745.png" alt="Werner_E_1-1763993443745.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When you later call this function, you can assign it a 1x2 matrix so there is no need to display the nested matrix:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_3-1763993617635.png" style="width: 519px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131534iFE2FA70DD8FB72EE/image-dimensions/519x376?v=v2" width="519" height="376" role="button" title="Werner_E_3-1763993617635.png" alt="Werner_E_3-1763993617635.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 14:13:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044654#M219709</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-11-24T14:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extract segment lengths"L" of last iteration MC-P11</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044694#M219716</link>
      <description>&lt;P&gt;Thank you so much, Werner!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 19:15:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044694#M219716</guid>
      <dc:creator>SFares</dc:creator>
      <dc:date>2025-11-24T19:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Extract segment lengths"L" of last iteration MC-P11</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044697#M219717</link>
      <description>&lt;P&gt;Hello Werner,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When iI made the change I am getting the results displayed differently. Also errors in summary on page 8 and 9&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="SFares_0-1764014923848.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131543i9D0FC67E6019F313/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SFares_0-1764014923848.png" alt="SFares_0-1764014923848.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SFares_1-1764014956736.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131544i1AD447BF50A43E7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SFares_1-1764014956736.png" alt="SFares_1-1764014956736.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 20:12:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044697#M219717</guid>
      <dc:creator>SFares</dc:creator>
      <dc:date>2025-11-24T20:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extract segment lengths"L" of last iteration MC-P11</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044704#M219718</link>
      <description>&lt;P&gt;Sorry Werner! i realized my mistake!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 21:29:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Extract-segment-lengths-quot-L-quot-of-last-iteration-MC-P11/m-p/1044704#M219718</guid>
      <dc:creator>SFares</dc:creator>
      <dc:date>2025-11-24T21:29:24Z</dc:date>
    </item>
  </channel>
</rss>

