<?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: no higher than 2-D arrays can be inputs, outputs? in LabVIEW MathScript RT Module</title>
    <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/547028#M261</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;thanks for the reply.&amp;nbsp; dangit.&amp;nbsp; that's too bad.&amp;nbsp; i currently use matlab to post-process EEG (electroencephalographic) signals, and these signals are recorded using a LabVIEW executable.&amp;nbsp;&amp;nbsp; i'd like to be able to perform these post-precessing steps in real-time by inluding the post-processing steps into the LabVIEW code.&amp;nbsp; and, actually, i was mistaken.&amp;nbsp; i need to input a 2-D array (indices of time, and channel no.) and output a 3-D array (indices of time, channel no., frequency).&amp;nbsp; i have 160 channels, so i would think it would be messy to reshape the array into a 2-D (time, frequency). My subroutines involve multiple (13) bandpass filters, integrations, envelope detections, ect., which seem (to me, anyway) easier to execute using script.&amp;nbsp; would you happen to have any suggestions?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Alias77 on &lt;SPAN class="date_text"&gt;07-06-2007&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:33 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Alias77 on &lt;SPAN class="date_text"&gt;07-06-2007&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:34 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jul 2007 16:31:53 GMT</pubDate>
    <dc:creator>Alias77</dc:creator>
    <dc:date>2007-07-06T16:31:53Z</dc:date>
    <item>
      <title>no higher than 2-D arrays can be inputs, outputs?</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/546997#M259</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;hello,&lt;BR /&gt;&lt;BR /&gt;i need to pass a 4-dimensional array into a mathscript node as well as receive an output that is 4-dimensional.&amp;nbsp; i came across a post where somebody speculated that the only way to input all of the information in a 3-D array is to reshape the array into a 2-D.&amp;nbsp; is this really the case?&amp;nbsp; can MathScript really not receive 3 or higher dimensional arrays?&amp;nbsp; ...seems kind of silly.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Alias77 on &lt;SPAN class="date_text"&gt;07-06-2007&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;10:52 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2007 15:51:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/546997#M259</guid>
      <dc:creator>Alias77</dc:creator>
      <dc:date>2007-07-06T15:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: no higher than 2-D arrays can be inputs, outputs?</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/547014#M260</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Unfortunately, LabVIEW MathScript does not have support for higher than two-dimensional arrays at this time.&amp;nbsp; We are aware of the limitation and are considering implementing it for a future release.&amp;nbsp; It would help us to know your particular use case of 4-dimensional arrays in our planning to provide this support.&amp;nbsp; Can you elaborate on your code?&lt;BR /&gt;&lt;BR /&gt;Reshaping the array to two dimensions before passing it to MathScript and reshaping it back afterwards will work if you will be performing only scalar operations.&amp;nbsp; LabVIEW itself will support higher-dimensional arrays.&amp;nbsp; If you write your algorithm in native LabVIEW code, you should be able to do what you wish.&lt;BR /&gt;&lt;BR /&gt;Grant M.&lt;BR /&gt;Staff Software Engineer | LabVIEW Math &amp;amp; Signal Processing | National Instruments&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 Jul 2007 16:12:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/547014#M260</guid>
      <dc:creator>GrantM</dc:creator>
      <dc:date>2007-07-06T16:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: no higher than 2-D arrays can be inputs, outputs?</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/547028#M261</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;thanks for the reply.&amp;nbsp; dangit.&amp;nbsp; that's too bad.&amp;nbsp; i currently use matlab to post-process EEG (electroencephalographic) signals, and these signals are recorded using a LabVIEW executable.&amp;nbsp;&amp;nbsp; i'd like to be able to perform these post-precessing steps in real-time by inluding the post-processing steps into the LabVIEW code.&amp;nbsp; and, actually, i was mistaken.&amp;nbsp; i need to input a 2-D array (indices of time, and channel no.) and output a 3-D array (indices of time, channel no., frequency).&amp;nbsp; i have 160 channels, so i would think it would be messy to reshape the array into a 2-D (time, frequency). My subroutines involve multiple (13) bandpass filters, integrations, envelope detections, ect., which seem (to me, anyway) easier to execute using script.&amp;nbsp; would you happen to have any suggestions?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Alias77 on &lt;SPAN class="date_text"&gt;07-06-2007&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:33 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Alias77 on &lt;SPAN class="date_text"&gt;07-06-2007&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:34 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jul 2007 16:31:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/547028#M261</guid>
      <dc:creator>Alias77</dc:creator>
      <dc:date>2007-07-06T16:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: no higher than 2-D arrays can be inputs, outputs?</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/547170#M262</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;We're still a little unclear why you need a 3D output array.&amp;nbsp; Are you just computing the Fourier transform of your channel data?&amp;nbsp; Why not output a real 2D array of your modified (time, channel) data and a complex 2D array of your (channel, frequency) data?&amp;nbsp; Or are you doing something else such as a short-time Fourier transform?&amp;nbsp; What about wrapping a MathScript Node in a LabVIEW for loop?&amp;nbsp; This way, the node could output a 2D array each iteration and LabVIEW could build the data back into a 3D array.&lt;BR /&gt;&lt;BR /&gt;Grant M.&lt;BR /&gt;Staff Software Engineer | LabVIEW Math &amp;amp; Signal Processing | National Instruments</description>
      <pubDate>Fri, 06 Jul 2007 20:48:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/547170#M262</guid>
      <dc:creator>GrantM</dc:creator>
      <dc:date>2007-07-06T20:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: no higher than 2-D arrays can be inputs, outputs?</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/551382#M273</link>
      <description>thanks again for the response, and sorry for the delay.&amp;nbsp; after thinking
about the script more closely, i won't necessarily have to input or
output arrays of data whose dimension is greater than 2.&amp;nbsp; although,
after testing my m-file script using MathScript, i've noticed that it
can't even handle the processing of arrays whose dimension is greater
than 2 (that are created and used entirely within the m-file).&amp;nbsp; is this true also?&amp;nbsp; &lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Jul 2007 22:03:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/551382#M273</guid>
      <dc:creator>Alias77</dc:creator>
      <dc:date>2007-07-16T22:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: no higher than 2-D arrays can be inputs, outputs?</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/551712#M275</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Yes, it is also true that LabVIEW MathScript cannot create or operate on arrays of dimension greater than 2, even within its own boundaries.&lt;BR /&gt;&lt;BR /&gt;Grant M.&lt;BR /&gt;Staff Software Engineer | LabVIEW Math &amp;amp; Signal Processing | National Instruments&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Jul 2007 13:43:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/551712#M275</guid>
      <dc:creator>GrantM</dc:creator>
      <dc:date>2007-07-17T13:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: no higher than 2-D arrays can be inputs, outputs?</title>
      <link>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/2401656#M1546</link>
      <description>&lt;P&gt;Hey guys, could you explain me a bit or point me somewhere I can find the information ?&lt;/P&gt;
&lt;P&gt;I don't really get how you transform a 3D matrix in a 2D one inside labview.&lt;/P&gt;
&lt;P&gt;In mathscript I would like to do this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;img = reshape(slope(m,round(y-z)-1:round(y+z)+1,round(x-z)-1:round(x+z)+1),[ones(1,-z),siz]); (for instance)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But this is a 3d reshape, so it's not allowed. DO you have an idea how I could do this ? Making sub matrix ? I am a bit lost.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2013 08:25:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-MathScript-RT-Module/no-higher-than-2-D-arrays-can-be-inputs-outputs/m-p/2401656#M1546</guid>
      <dc:creator>mael_lam</dc:creator>
      <dc:date>2013-04-24T08:25:37Z</dc:date>
    </item>
  </channel>
</rss>

