<?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: Output data format of FFT(abs) in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Output-data-format-of-FFT-abs/m-p/1307384#M31884</link>
    <description>&lt;P&gt;the right way is:&lt;/P&gt;
&lt;P&gt;set&amp;nbsp;DFTI_CONJUGATE_EVEN_STORAGE = DFTI_COMPLEX_COMPLEX&lt;/P&gt;
&lt;P&gt;and after the FFT&amp;nbsp;make data mirroring relative to the last element in the array after FFT&lt;/P&gt;</description>
    <pubDate>Tue, 17 Aug 2021 07:47:18 GMT</pubDate>
    <dc:creator>Serjio</dc:creator>
    <dc:date>2021-08-17T07:47:18Z</dc:date>
    <item>
      <title>Output data format of FFT(abs)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Output-data-format-of-FFT-abs/m-p/1307151#M31881</link>
      <description>&lt;P&gt;I need to perform Fourier transform on an array of real numbers. Next, I need to do the inverse Fourier transform. In the end, I have to get an array of real numbers.&lt;/P&gt;
&lt;P&gt;Problem. When I do an FFT on an array of real numbers of length 16384, I get an array with a length of 8192 elements. Moreover, the values do not coincide with the values in Matlab.&lt;BR /&gt;How can I FFT over an array of real numbers of 16384 length in order to get an array of 16384 length in response? Just tell me the settings for MKL FFT to do the same as in Matlab but in C++&lt;/P&gt;
&lt;P&gt;// Matlab&lt;BR /&gt;// Sig - complex double &lt;BR /&gt;// Sig_amp_fft - real double&lt;BR /&gt;// Sig_amp_ifft - real double&lt;/P&gt;
&lt;P&gt;Sig_amp_fft = fft(abs(Sig));&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Sig_amp_fft length = 16383&lt;BR /&gt;Sig_amp_ifft = ifft(Sig_amp_fft); // Sig_amp_ifft length = 16383&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;And now in MKL:&lt;BR /&gt;std::vector&amp;lt;std::complex&amp;lt;double&amp;gt;&amp;gt; Sig(16384);&lt;BR /&gt;std::vector&amp;lt;double&amp;gt;Sig_amp_ifft(16384);&lt;BR /&gt;// Settings for FFT:&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 15:26:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Output-data-format-of-FFT-abs/m-p/1307151#M31881</guid>
      <dc:creator>Serjio</dc:creator>
      <dc:date>2021-08-16T15:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Output data format of FFT(abs)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Output-data-format-of-FFT-abs/m-p/1307384#M31884</link>
      <description>&lt;P&gt;the right way is:&lt;/P&gt;
&lt;P&gt;set&amp;nbsp;DFTI_CONJUGATE_EVEN_STORAGE = DFTI_COMPLEX_COMPLEX&lt;/P&gt;
&lt;P&gt;and after the FFT&amp;nbsp;make data mirroring relative to the last element in the array after FFT&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 07:47:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Output-data-format-of-FFT-abs/m-p/1307384#M31884</guid>
      <dc:creator>Serjio</dc:creator>
      <dc:date>2021-08-17T07:47:18Z</dc:date>
    </item>
    <item>
      <title>Re:Output data format of FFT(abs)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Output-data-format-of-FFT-abs/m-p/1307436#M31886</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px; font-family: Calibri, &amp;quot;Segoe UI&amp;quot;, Calibri, Thonburi, Arial, Verdana, sans-serif, &amp;quot;Mongolian Baiti&amp;quot;, &amp;quot;Microsoft Yi Baiti&amp;quot;, &amp;quot;Javanese Text&amp;quot;;"&gt;Glad to know that your issue is resolved and thanks for letting us know  the solution. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px; font-family: Calibri, &amp;quot;Segoe UI&amp;quot;, Calibri, Thonburi, Arial, Verdana, sans-serif, &amp;quot;Mongolian Baiti&amp;quot;, &amp;quot;Microsoft Yi Baiti&amp;quot;, &amp;quot;Javanese Text&amp;quot;;"&gt;If you need any additional information, please submit a new question as this thread will no longer be monitored.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px; font-family: Calibri, &amp;quot;Segoe UI&amp;quot;, Calibri, Thonburi, Arial, Verdana, sans-serif, &amp;quot;Mongolian Baiti&amp;quot;, &amp;quot;Microsoft Yi Baiti&amp;quot;, &amp;quot;Javanese Text&amp;quot;;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.6667px; font-family: Calibri, &amp;quot;Segoe UI&amp;quot;, Calibri, Thonburi, Arial, Verdana, sans-serif, &amp;quot;Mongolian Baiti&amp;quot;, &amp;quot;Microsoft Yi Baiti&amp;quot;, &amp;quot;Javanese Text&amp;quot;;"&gt;Vidya.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Aug 2021 11:22:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Output-data-format-of-FFT-abs/m-p/1307436#M31886</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-08-17T11:22:10Z</dc:date>
    </item>
  </channel>
</rss>

