<?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: These units are not compatible in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/These-units-are-not-compatible/m-p/765386#M198921</link>
    <description>&lt;P&gt;The problem is the inline evaluation of your function H...(k).&lt;/P&gt;
&lt;P&gt;Delete the equal sign at the end and type H...(k)= in a separate region if you really want to see a list of the 701 values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume that you assigned f.PH a correct unit (dimension time^-1) like 1/s or Hz.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Dec 2021 08:51:57 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2021-12-23T08:51:57Z</dc:date>
    <item>
      <title>These units are not compatible</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/These-units-are-not-compatible/m-p/765258#M198908</link>
      <description>&lt;PRE&gt;Hello, I am trying to use this w(k) in my transfer function, but it doesn't work.&lt;BR /&gt;&lt;BR /&gt;I can use w(k) separately.&lt;BR /&gt;&lt;BR /&gt;Do you have any idea how can I do this?&lt;/PRE&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AP_10156885_0-1640186977631.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/50479i34179393D7AA9735/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AP_10156885_0-1640186977631.png" alt="AP_10156885_0-1640186977631.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 15:31:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/These-units-are-not-compatible/m-p/765258#M198908</guid>
      <dc:creator>AP_10156885</dc:creator>
      <dc:date>2021-12-22T15:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: These units are not compatible</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/These-units-are-not-compatible/m-p/765364#M198917</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;There is a mismatched unit problem.&lt;/P&gt;
&lt;P&gt;Can you upload the worksheet so the units or absence of units on constants can be checked.&lt;/P&gt;
&lt;P&gt;For example units of fsw, fPH, etc&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 05:53:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/These-units-are-not-compatible/m-p/765364#M198917</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2021-12-23T05:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: These units are not compatible</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/These-units-are-not-compatible/m-p/765372#M198920</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The problem is subtle.&amp;nbsp; The units of the multiplier of "j" must be unitless.&lt;/P&gt;
&lt;P&gt;The units of 2*pi in definition of w(k) is in rad (meaning radians) for w of rad/sec.&lt;/P&gt;
&lt;P&gt;The units in the denominator of multiplier of j should for the 2*pi as rad and fPH as Hz for rad/sec to cancel out units of w(k)&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="Capture.JPG" style="width: 429px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/50498i58432C990406BE1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 06:56:13 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/These-units-are-not-compatible/m-p/765372#M198920</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2021-12-23T06:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: These units are not compatible</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/These-units-are-not-compatible/m-p/765386#M198921</link>
      <description>&lt;P&gt;The problem is the inline evaluation of your function H...(k).&lt;/P&gt;
&lt;P&gt;Delete the equal sign at the end and type H...(k)= in a separate region if you really want to see a list of the 701 values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume that you assigned f.PH a correct unit (dimension time^-1) like 1/s or Hz.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 08:51:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/These-units-are-not-compatible/m-p/765386#M198921</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2021-12-23T08:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: These units are not compatible</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/These-units-are-not-compatible/m-p/765387#M198922</link>
      <description>&lt;P&gt;I am not quite sure what you mean. There is no need to explicitly assign pseudo unit "rad" to any variable. This "unit" is defined as being 1 and has no effect when balancing the units.&lt;/P&gt;
&lt;P data-unlink="true"&gt;As long as f.PH is a &lt;FONT face="arial,helvetica,sans-serif"&gt;quantity&lt;/FONT&gt; with dimension time^-1 (probably Hz or s^-1) all should be OK.&lt;BR /&gt;I guess that AP_10156885&amp;nbsp; already had defined f.PH with a correct unit and am pretty sure that the problem is just the equal sign after the function definition.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 11:33:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/These-units-are-not-compatible/m-p/765387#M198922</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2021-12-23T11:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: These units are not compatible</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/These-units-are-not-compatible/m-p/765514#M198930</link>
      <description>&lt;P&gt;As Werner says, that evaluation operator at the end of your function definition is the main culprit here.&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="2021 12 23 a.png" style="width: 376px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/50559i9AE067C36ACFAB7B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021 12 23 a.png" alt="2021 12 23 a.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Removing it cures the problem, and your function should work as you intend, provided fph has unit Hz (&lt;EM&gt;as both Werner and Terry said&lt;/EM&gt;).&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="2021 12 23 b.png" style="width: 378px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/50560iF0D030BED7C3484C/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021 12 23 b.png" alt="2021 12 23 b.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And just as an aside, because many new users find using range variables slightly confusing on occasion,&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="2021 12 23 c.png" style="width: 394px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/50561iF217EA6C377A3A72/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021 12 23 c.png" alt="2021 12 23 c.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note the -400 in the first definition; this is to ensure that hk's effective indices start at 0 (add ORIGIN to k-400 if you use a different ORIGIN).&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, note the vectorized operator in the second definition; this is to ensure there are no unintended side effects from passing a vector to H&lt;FONT size="1 2 3 4 5 6 7"&gt;PWRH&lt;/FONT&gt;. Many a head is scratched trying to work out why multiplying vectors v &amp;amp; w returns a scalar instead of an element-by-element product (&lt;EM&gt;especially when v^2 does return the square of each element of v&lt;/EM&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stuart&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 17:24:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/These-units-are-not-compatible/m-p/765514#M198930</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2021-12-23T17:24:21Z</dc:date>
    </item>
  </channel>
</rss>

