<?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: Excel Input - This value must be scalar or matrix in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Excel-Input-This-value-must-be-scalar-or-matrix/m-p/962048#M212958</link>
    <description>&lt;P&gt;Hello &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/313000"&gt;@davidlimtw&lt;/a&gt;&lt;/SPAN&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you have some responses from some community members. If any of these replies helped you solve &lt;A href="https://community.ptc.com/t5/Mathcad/Excel-Input-This-value-must-be-scalar-or-matrix/m-p/961162#M212893" target="_blank"&gt;your question&lt;/A&gt; please mark the appropriate reply as the Accepted Solution.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vivek N.&lt;BR /&gt;Community Moderation Team.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2024 12:43:45 GMT</pubDate>
    <dc:creator>vnamboodheri</dc:creator>
    <dc:date>2024-07-18T12:43:45Z</dc:date>
    <item>
      <title>Excel Input - This value must be scalar or matrix</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Excel-Input-This-value-must-be-scalar-or-matrix/m-p/961162#M212893</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;why mathcad prime dont allow to input the results of a fuction with a range of input into the excel component. What is the way to go around 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="davidlimtw_0-1720900925812.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/107746i82AF7DFE6115ACDF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="davidlimtw_0-1720900925812.png" alt="davidlimtw_0-1720900925812.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 20:12:11 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Excel-Input-This-value-must-be-scalar-or-matrix/m-p/961162#M212893</guid>
      <dc:creator>davidlimtw</dc:creator>
      <dc:date>2024-07-13T20:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Input - This value must be scalar or matrix</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Excel-Input-This-value-must-be-scalar-or-matrix/m-p/961163#M212894</link>
      <description>&lt;P&gt;1. The output to Excel accepts only arrays, yours is a range.&lt;/P&gt;
&lt;P&gt;2. The output to Excel accepts only unit less data, yours has a length dimension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Success!&lt;/P&gt;
&lt;P&gt;Luc&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 22:04:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Excel-Input-This-value-must-be-scalar-or-matrix/m-p/961163#M212894</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2024-07-13T22:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Input - This value must be scalar or matrix</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Excel-Input-This-value-must-be-scalar-or-matrix/m-p/961164#M212895</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/14826"&gt;@LucMeekes&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;1. The output to Excel accepts only arrays, yours is a range.&lt;/P&gt;
&lt;P&gt;2. The output to Excel accepts only unit less data, yours has a length dimension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Actually "a" IS a range and "a" is NOT unit less, but still "a" IS accepted by the Excel component as input! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is f(a), which neither is a range nor an array/vector.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 22:48:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Excel-Input-This-value-must-be-scalar-or-matrix/m-p/961164#M212895</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-07-13T22:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Input - This value must be scalar or matrix</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Excel-Input-This-value-must-be-scalar-or-matrix/m-p/961169#M212896</link>
      <description>&lt;P&gt;There is a huge difference between ranges (like your "a") and vectors). Unfortunately they look the very same in Prime when displayed.&lt;/P&gt;
&lt;P&gt;Your problem stems from an "illegal" use of a range variable.&lt;/P&gt;
&lt;P&gt;Ranges should be used to&lt;/P&gt;
&lt;P&gt;1) index the elements of vectors and matrices&lt;/P&gt;
&lt;P&gt;2) make for-loops in programs&lt;/P&gt;
&lt;P&gt;3) define the abscissa values in a 2D-plot&lt;/P&gt;
&lt;P&gt;but not for anything else.&lt;/P&gt;
&lt;P&gt;Actually a range is not a data type consisting of a couple of values like a vector but rather kind of an implicit loop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you created when you typed f(a)= looks pretty much like an ordinary vector, but actually its not a vector and its also not a range - its an invalid object. You can't even assign it to a variable - you get an error if you try so:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1720909292396.png" style="width: 182px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/107747i77AAC1A3A949F9BA/image-dimensions/182x105?v=v2" width="182" height="105" role="button" title="Werner_E_0-1720909292396.png" alt="Werner_E_0-1720909292396.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Its fine and OK to use your range "a" for plotting&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1720909435042.png" style="width: 488px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/107748i83E09C7EFFBF8620/image-dimensions/488x323?v=v2" width="488" height="323" role="button" title="Werner_E_1-1720909435042.png" alt="Werner_E_1-1720909435042.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For other things you rather should create and work with true vectors as shown and explained below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1720910582875.png" style="width: 878px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/107749i02B8AC66F72932DF/image-dimensions/878x855?v=v2" width="878" height="855" role="button" title="Werner_E_2-1720910582875.png" alt="Werner_E_2-1720910582875.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Prime 10 sheet attached&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 22:43:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Excel-Input-This-value-must-be-scalar-or-matrix/m-p/961169#M212896</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-07-13T22:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Input - This value must be scalar or matrix</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Excel-Input-This-value-must-be-scalar-or-matrix/m-p/962048#M212958</link>
      <description>&lt;P&gt;Hello &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/313000"&gt;@davidlimtw&lt;/a&gt;&lt;/SPAN&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you have some responses from some community members. If any of these replies helped you solve &lt;A href="https://community.ptc.com/t5/Mathcad/Excel-Input-This-value-must-be-scalar-or-matrix/m-p/961162#M212893" target="_blank"&gt;your question&lt;/A&gt; please mark the appropriate reply as the Accepted Solution.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vivek N.&lt;BR /&gt;Community Moderation Team.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 12:43:45 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Excel-Input-This-value-must-be-scalar-or-matrix/m-p/962048#M212958</guid>
      <dc:creator>vnamboodheri</dc:creator>
      <dc:date>2024-07-18T12:43:45Z</dc:date>
    </item>
  </channel>
</rss>

