<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to proj_nD</title><link>https://sourceforge.net/p/infos/wiki/proj_nD/</link><description>Recent changes to proj_nD</description><atom:link href="https://sourceforge.net/p/infos/wiki/proj_nD/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 08 Sep 2016 12:59:13 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/infos/wiki/proj_nD/feed" rel="self" type="application/rss+xml"/><item><title>proj_nD modified by A. Smith</title><link>https://sourceforge.net/p/infos/wiki/proj_nD/</link><description>&lt;div class="markdown_content"&gt;&lt;h3 id="proj_nd"&gt;proj_nD&lt;/h3&gt;
&lt;p&gt;The ‘proj_nD’ function performs a projection across one or more dimensions. One specifies the dimension(s) to be removed via projection in a vector, ‘dim’, and optionally one may provide the range of the spectrum to be projected over (2 entries, LB and UB, for each dimension to be projected over). If the ‘range’ variable is omitted, then the projections are performed across the entire dimension. Alternatively, proj_nD may be used to obtain slices, in which case one provides only one value per dimension in the ‘range’ argument. This will return the slice nearest to the given frequency position. &lt;/p&gt;
&lt;p&gt;To obtain a 2D projection across the whole 2nd dimension of a 3D spectrum:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;spec2D=proj_nD(spec3D,2);
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;To obtain a 1D projection across part of the 1st and 2nd dimensions of a 3D spectrum:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;spec1D=proj_nD(spec3D,[1 2],[40 70 100 105]);
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;To obtain a 1D slice from particular positions in the 2nd and 3rd dimensions of a 3D spectrum&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;spec1D=proj_nD(spec3D,[2 3],[50 103]);
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">A. Smith</dc:creator><pubDate>Thu, 08 Sep 2016 12:59:13 -0000</pubDate><guid>https://sourceforge.net9abfe3b1c9431344c27fa1ad3f5103b737f0119e</guid></item></channel></rss>