<?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: The label is undefined in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045225#M219764</link>
    <description>&lt;P&gt;still the same&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YA_10963798_0-1764254556090.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131707i23413D0667D37F77/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YA_10963798_0-1764254556090.png" alt="YA_10963798_0-1764254556090.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Nov 2025 14:43:05 GMT</pubDate>
    <dc:creator>YA_10963798</dc:creator>
    <dc:date>2025-11-27T14:43:05Z</dc:date>
    <item>
      <title>The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045182#M219760</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Any ideas why this is wrong? I made f as function of M in order to define it&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YA_10963798_0-1764241005355.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131690i5CCC7E042A714C5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YA_10963798_0-1764241005355.png" alt="YA_10963798_0-1764241005355.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Yusra&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 10:57:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045182#M219760</guid>
      <dc:creator>YA_10963798</dc:creator>
      <dc:date>2025-11-27T10:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045206#M219762</link>
      <description>&lt;P&gt;Try getting rid of the following equals sign in the function definition&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fred_Kohlhepp_0-1764246383840.png" style="width: 540px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131704iE09351CD1CA5791D/image-dimensions/540x184?v=v2" width="540" height="184" role="button" title="Fred_Kohlhepp_0-1764246383840.png" alt="Fred_Kohlhepp_0-1764246383840.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 12:26:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045206#M219762</guid>
      <dc:creator>Fred_Kohlhepp</dc:creator>
      <dc:date>2025-11-27T12:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045225#M219764</link>
      <description>&lt;P&gt;still the same&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YA_10963798_0-1764254556090.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131707i23413D0667D37F77/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YA_10963798_0-1764254556090.png" alt="YA_10963798_0-1764254556090.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 14:43:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045225#M219764</guid>
      <dc:creator>YA_10963798</dc:creator>
      <dc:date>2025-11-27T14:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045246#M219765</link>
      <description>&lt;P&gt;You've still got the "=" sign at the end of the function definition, Yusra.&amp;nbsp; You need to go to the very end of the function definition (Fn-right-arrow), then press Backspace twice.&amp;nbsp; That should remove the equal sign.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stuart&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 16:06:46 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045246#M219765</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2025-11-27T16:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045248#M219766</link>
      <description>&lt;P&gt;So I can't put (=) in the function . Thank you for that I didn't know&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I have this another error that I always get . Can you explain to me how to tackle it&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YA_10963798_0-1764260146276.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131709iC2D8F8A71B287900/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YA_10963798_0-1764260146276.png" alt="YA_10963798_0-1764260146276.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 16:17:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045248#M219766</guid>
      <dc:creator>YA_10963798</dc:creator>
      <dc:date>2025-11-27T16:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045255#M219769</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/800166"&gt;@YA_10963798&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;So I can't put (=) in the function . Thank you for that I didn't know&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No worries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/800166"&gt;@YA_10963798&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Now I have this another error that I always get . Can you explain to me how to tackle it&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YA_10963798_0-1764260146276.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131709iC2D8F8A71B287900/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YA_10963798_0-1764260146276.png" alt="YA_10963798_0-1764260146276.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Without the worksheet, I'd be flying blind, but my first airport of call would be to check whether dz&lt;SUB&gt;ontgr&lt;/SUB&gt; is the same length as &lt;FONT face="symbol"&gt;g&lt;/FONT&gt;`&lt;SUB&gt;ontg&lt;/SUB&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stuart&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 17:14:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045255#M219769</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2025-11-27T17:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045294#M219773</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/800166"&gt;@YA_10963798&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;So I can't put (=) in the function .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Not after a function DEFINITION.&lt;/P&gt;
&lt;P&gt;An = means a numeric evaluation. Which numeric result would you expect here:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1764298058276.png" style="width: 326px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131719i85251827F1FE20CD/image-dimensions/326x54?v=v2" width="326" height="54" role="button" title="Werner_E_0-1764298058276.png" alt="Werner_E_0-1764298058276.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Prime can't know which value to use for "x". Even if a variable "x" is defined in front it won't work, because the "x" used in the right hand side of the function definition is NOT the "x" you may have defined in front but rather is the "x" used on the left hand side of the definition (formal function argument).&lt;/P&gt;
&lt;P&gt;So when you DEFINE a function you can't evaluate this definition numerically. But after the definition, when you CALL the function providing a specific value for the formal argument you evaluate this function call numerically.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1764298365965.png" style="width: 277px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131720i1C5604C904B43C82/image-dimensions/277x126?v=v2" width="277" height="126" role="button" title="Werner_E_1-1764298365965.png" alt="Werner_E_1-1764298365965.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Actually you CAN evaluate a function definition using symbolic evaluation.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1764298431991.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131721i146625F11AB2D4DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_2-1764298431991.png" alt="Werner_E_2-1764298431991.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But this will not always work OK. If the function definition contains a boolean expression using the function argument(s) it can't decide its truth value without knowing specific values and so will refuse to evaluate symbolically&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_3-1764298609169.png" style="width: 240px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131722i7C3CB8D2B483726B/image-dimensions/240x199?v=v2" width="240" height="199" role="button" title="Werner_E_3-1764298609169.png" alt="Werner_E_3-1764298609169.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;Now I have this another error that I always get . Can you explain to me how to tackle it&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YA_10963798_0-1764260146276.png" style="width: 494px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131709iC2D8F8A71B287900/image-dimensions/494x174?v=v2" width="494" height="174" role="button" title="YA_10963798_0-1764260146276.png" alt="YA_10963798_0-1764260146276.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I also suspect that vector &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;dz&lt;SUB&gt;ontgr&lt;/SUB&gt;&lt;/FONT&gt;&lt;/STRONG&gt; contains not more elements than vector &lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;σ'&lt;SUB&gt;ontg&lt;/SUB&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;So when in your loop "i" reaches the index of the last value of &lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;σ'&lt;SUB&gt;ontg&lt;/SUB&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;, there is no element with index i+1 in vector &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;dz&lt;SUB&gt;ontgr&lt;/SUB&gt;&lt;/FONT&gt;&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Probably the same applies to vector&amp;nbsp;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;γ'&lt;SUB&gt;ontg&lt;/SUB&gt;&lt;/FONT&gt;&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;If all the mentioned vectors are of the same length the error should go away if you use&amp;nbsp; &amp;nbsp; &lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;for i&amp;nbsp;∈ ORIGIN..last(σ'&lt;SUB&gt;ontg&lt;/SUB&gt;)&lt;FONT color="#993366"&gt;-1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The resulting vector returned by your function will have one element less than the vectors used. You have to decide if that's what you need.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 03:13:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045294#M219773</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-11-28T03:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045355#M219775</link>
      <description>&lt;P&gt;Thank you Werner for the thorough explanation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I use (&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YA_10963798_0-1764322273520.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131740iD14A352682E83DF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YA_10963798_0-1764322273520.png" alt="YA_10963798_0-1764322273520.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;won't that exclude the last value?&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I did what you said .. I got this value with unit in the second raw ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YA_10963798_1-1764322827636.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131741i34BE03BBECCCDB10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YA_10963798_1-1764322827636.png" alt="YA_10963798_1-1764322827636.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;f2 must be unitless because the units should cancel each other&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YA_10963798_2-1764323186658.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131744iDE465DF4DB5AEFE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YA_10963798_2-1764323186658.png" alt="YA_10963798_2-1764323186658.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="YA_10963798_3-1764323713996.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131745iC32B9CBCDC79F80A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YA_10963798_3-1764323713996.png" alt="YA_10963798_3-1764323713996.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;Regards&lt;/P&gt;&lt;P&gt;Yusra&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 09:55:22 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045355#M219775</guid>
      <dc:creator>YA_10963798</dc:creator>
      <dc:date>2025-11-28T09:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045372#M219776</link>
      <description>&lt;P&gt;OK, now we see that all the vectors involved consist of two elements only&lt;/P&gt;
&lt;P&gt;The reason that the result of your function f2 is still a 2x1 vector and not just a single value inside a 1x1 matrix/vector is the first line in your function definition, R &amp;lt;- M.&lt;/P&gt;
&lt;P&gt;So when you use last(..)-1 the calculation is only done for the first element and the second(last) element of R is not calculated at all but rather is the second(last) element of M unchanged - that's the reason you see unit Pa.&lt;/P&gt;
&lt;P&gt;If you delete this first program line the result will be a unitless value, but in a 1x1 vector - as I wrote before, one element less than the vectors involved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The the main problem still is: The calculation von R.i uses the elements with index i from some of the vectors, but also the element with index i+1 from some other vectors.&lt;/P&gt;
&lt;P&gt;So when you tried to calculate R.2 this calculaton would use the elements with in index 2 of some vectors but also the elements with index 3 of some other vectors. And these vectors only have 2 elements so there is no element with index 3, hence the error you got.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to know how to deal with that problem, what exactly you are trying to calculate and how to deal with the last value in T in case you expect the outcome of the function f2 to be a 2x1 vector as well.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 10:22:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045372#M219776</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-11-28T10:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045373#M219777</link>
      <description>&lt;P&gt;Yes you are right . I will fix that&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 10:28:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045373#M219777</guid>
      <dc:creator>YA_10963798</dc:creator>
      <dc:date>2025-11-28T10:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045375#M219778</link>
      <description>&lt;P&gt;How can I exclude the first value not the last one ?&lt;/P&gt;&lt;P&gt;I tried to put the first one as 0&amp;nbsp; so now I have 3 values in each element .. I need it to calculate the second and the third (the last values )&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YA_10963798_0-1764326692717.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131746iCB298AC306730F8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YA_10963798_0-1764326692717.png" alt="YA_10963798_0-1764326692717.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 10:48:37 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045375#M219778</guid>
      <dc:creator>YA_10963798</dc:creator>
      <dc:date>2025-11-28T10:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045384#M219780</link>
      <description>&lt;P&gt;Which first value?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you post a sheet which only includes this function, the needed vectors and show manually what you expect as the result?&lt;/P&gt;
&lt;P&gt;generally if you want to delete the first value in a vector you could use the 'submatrix' function (assuming ORIGIN=1): v:=submatrix(v, 2, last(v), 1, 1)&lt;/P&gt;
&lt;P&gt;But I am not sure if that is what you are trying to achieve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;nbsp;I tried to put the first one as 0 so now I have 3 values in each element .. I need it to calculate the second and the third (the last values )&lt;/P&gt;
&lt;P&gt;?? third value?? The calculation of the third value would use the non-existing fourth value of some vectors and you would end up with the same problem as before. But maybe I misunderstood something.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, as far as I can tell there is no need to divide by MPa as the units would cancel anyway also without doing so.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 12:01:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045384#M219780</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-11-28T12:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045390#M219781</link>
      <description>&lt;P&gt;the matrixes I have&amp;nbsp; is for 2 layers , so&amp;nbsp; 2 rows and I'm trying to calculate f2 for the two rows so I should have as a result two values for f2 ..&lt;/P&gt;&lt;P&gt;the problem I have is the f2 for the first value should be calculated from previous layer which is not there so I added this layer as zero values for all the vectors in this function. now I have three layers .. I want to get f2 for the second and the third layer assuming that the first one is zero&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I use ( last -1) it exclude the last layer which I need . I want it to exclude the first one which is zero and still be able to use the same loop (for)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YA_10963798_0-1764332782087.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/131748i6798A975EAE6599E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YA_10963798_0-1764332782087.png" alt="YA_10963798_0-1764332782087.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I attached the sheet&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 12:28:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045390#M219781</guid>
      <dc:creator>YA_10963798</dc:creator>
      <dc:date>2025-11-28T12:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045396#M219783</link>
      <description>&lt;P&gt;You have to see if the modifications I made yield the result which you expect.&lt;/P&gt;
&lt;P&gt;I changed the units of the vector gamma from Pa to Pa/m&lt;/P&gt;
&lt;P&gt;I left your loop running from ORIGIN+1 up to last sigma'), but I changed all indices by subtracting 1. i-&amp;gt;i-1 and i+1-&amp;gt;i&lt;/P&gt;
&lt;P&gt;I also changed the running index in your sum from i to k as i is already used for the upper limit of the sum.&lt;/P&gt;
&lt;P&gt;Apart from that, I only removed unnecessary parentheses and the vectorization.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to check if the results are the correct values you expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 13:35:36 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045396#M219783</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-11-28T13:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: The label is undefined</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045398#M219784</link>
      <description>&lt;P&gt;Ok thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 13:44:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/The-label-is-undefined/m-p/1045398#M219784</guid>
      <dc:creator>YA_10963798</dc:creator>
      <dc:date>2025-11-28T13:44:43Z</dc:date>
    </item>
  </channel>
</rss>

