<?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: Upsample or interpolate complex numbers in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617314#M186322</link>
    <description>&lt;P&gt;Of course things look (a little bit) better if we sort W by the real parts beforehand.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="B.png" style="width: 490px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/17655i73D06F0A9473BC8B/image-dimensions/490x277?v=v2" width="490" height="277" role="button" title="B.png" alt="B.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2019 13:09:45 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2019-07-10T13:09:45Z</dc:date>
    <item>
      <title>Upsample or interpolate complex numbers</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617217#M186316</link>
      <description>&lt;P&gt;Does anyone know of a method to interpolate or upsample a "straight line" between 2 complex points?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;For example, between points (1+1j) and (4+4j) get (arbitrary) 2 more points: (2+2j) and (3+3j).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Or as shown in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;picture, get vector [Matrix?] Z (not exactly, but similar) from W.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="interpolate complex numbers.png" style="width: 178px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/17632i4F18517500CED668/image-size/medium?v=v2&amp;amp;px=400" role="button" title="interpolate complex numbers.png" alt="interpolate complex numbers.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>Tue, 09 Jul 2019 20:30:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617217#M186316</guid>
      <dc:creator>vyerokhin</dc:creator>
      <dc:date>2019-07-09T20:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Upsample or interpolate complex numbers</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617227#M186317</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/236200"&gt;@vyerokhin&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Does anyone know of a method to interpolate or upsample a "straight line" between 2 complex points?&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;complex "points"? You obviously mean complex numbers.&lt;/P&gt;
&lt;P&gt;You do i the same way as with real numbers.&lt;/P&gt;
&lt;P&gt;Maybe that way:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="B.png" style="width: 522px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/17634i234AC63930472BAA/image-dimensions/522x342?v=v2" width="522" height="342" role="button" title="B.png" alt="B.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 01:25:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617227#M186317</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2019-07-10T01:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Upsample or interpolate complex numbers</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617231#M186318</link>
      <description>&lt;P&gt;Thank you very much, Werner_E!&lt;/P&gt;
&lt;P&gt;Yes - I meant complex number. I said complex points because I was thinking in terms of plotting on a complex plain.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 01:37:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617231#M186318</guid>
      <dc:creator>vyerokhin</dc:creator>
      <dc:date>2019-07-10T01:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Upsample or interpolate complex numbers</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617271#M186319</link>
      <description>&lt;P&gt;Thanks good Mathcad sheet. I'm watching all community reply by Werner_E.&lt;/P&gt;
&lt;P&gt;May be this is a next step of this subject.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tokoro&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 08:21:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617271#M186319</guid>
      <dc:creator>ttokoro</dc:creator>
      <dc:date>2019-07-10T08:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Upsample or interpolate complex numbers</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617294#M186320</link>
      <description>&lt;P&gt;You like playing around with thing and had posted some interesting worksheets in the past &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here is UpSamplePoly based on your idea to use "polyint":&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="B1.png" style="width: 361px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/17651iD8AB03FCE8C450B6/image-dimensions/361x209?v=v2" width="361" height="209" role="button" title="B1.png" alt="B1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="B2.png" style="width: 507px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/17652i189188A68C92C331/image-dimensions/507x320?v=v2" width="507" height="320" role="button" title="B2.png" alt="B2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The drawback here is that real parts and imaginary parts are treated differently and so depending on the initial data set it may yield very strange and unusable results.&lt;/P&gt;
&lt;P&gt;Try to exchange real and imaginary parts in your sample data -&amp;gt; W:=Im(W)+1i*Re(W)&lt;/P&gt;
&lt;P&gt;and see what happens &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="B3.png" style="width: 493px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/17653iA0461448CCE39564/image-dimensions/493x288?v=v2" width="493" height="288" role="button" title="B3.png" alt="B3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 10:20:17 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617294#M186320</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2019-07-10T10:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Upsample or interpolate complex numbers</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617314#M186322</link>
      <description>&lt;P&gt;Of course things look (a little bit) better if we sort W by the real parts beforehand.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="B.png" style="width: 490px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/17655i73D06F0A9473BC8B/image-dimensions/490x277?v=v2" width="490" height="277" role="button" title="B.png" alt="B.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 13:09:45 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617314#M186322</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2019-07-10T13:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Upsample or interpolate complex numbers</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617346#M186325</link>
      <description>&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;Here is a last version that uses polyint and still handles real and imaginary parts alike.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;It may be useful in some situations, less useful in others.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="B1.png" style="width: 685px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/17660iCF9DE67953281460/image-dimensions/685x533?v=v2" width="685" height="533" role="button" title="B1.png" alt="B1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 16:05:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617346#M186325</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2019-07-10T16:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Upsample or interpolate complex numbers</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617355#M186327</link>
      <description>&lt;P&gt;And here is the real last one &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I got rid of polyint and replaced it by cubic spline interpolation. This tends not that much to overshoot and is more stable, especially with larger data vectors.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="B.png" style="width: 770px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/17661i880C07292764EA81/image-size/large?v=v2&amp;amp;px=999" role="button" title="B.png" alt="B.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 17:01:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617355#M186327</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2019-07-10T17:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Upsample or interpolate complex numbers</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617410#M186332</link>
      <description>&lt;P&gt;Thanks Werner. Second line in your UpSampleSplineC is a key technique of this function.&lt;/P&gt;
&lt;P&gt;Indexes of rows(W) such as 0,1,2,3 can be used as base of both Wx and Wy for up sampling.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using your new functions, Lissajous figures can made by up sampling.&lt;/P&gt;
&lt;P&gt;Tokoro&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="Lissajous.png" style="width: 280px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/17669i9CD687F33D33C166/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lissajous.png" alt="Lissajous.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 01:42:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Upsample-or-interpolate-complex-numbers/m-p/617410#M186332</guid>
      <dc:creator>ttokoro</dc:creator>
      <dc:date>2019-07-11T01:42:55Z</dc:date>
    </item>
  </channel>
</rss>

