diff m-toolbox/html_help/help/ug/constructor_examples_xydata_content.html @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/html_help/help/ug/constructor_examples_xydata_content.html	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,85 @@
+<!-- $Id: constructor_examples_xydata_content.html,v 1.1 2008/03/30 20:40:04 ingo Exp $ -->
+
+<!-- -------------------------------------------------- -->
+<!-- --------------- BEGIN CONTENT FILE --------------- -->
+<!-- -------------------------------------------------- -->
+
+<!-- --------------- Link box: begin --------------- -->
+<table border="0" summary="Simple list" class="simplelist_nottable_last">
+  <tr>
+    <td>
+      <a href="constructor_examples_xydata.html#empty">Construct empty XYDATA object</a>
+    </td>
+  </tr>
+  <tr>
+    <td>
+      <a href="constructor_examples_xydata.html#xml_file">Construct a XYDATA object by loading the object from a file</a>
+    </td>
+  </tr>
+  <tr>
+    <td>
+      <a href="constructor_examples_xydata.html#y_vector">Construct a XYDATA object from a y-data vector</a>
+    </td>
+  </tr>
+  <tr>
+    <td>
+      <a href="constructor_examples_xydata.html#x_y_vector">Construct a XYDATA object from a x-data and y-data vector</a>
+    </td>
+  </tr>
+</table>
+<!-- --------------- Link box: end --------------- -->
+
+<!-- --------------- NEXT EXAMPLE --------------- -->
+
+<hr>
+<h2 class="title"><a name="empty"></a>Construct empty XYDATA object</h2>
+<p>The following example creates an empty xydata object</p>
+<div class="fragment"><pre class="programlisting">
+xy = xydata()
+-------- xydata 01 ------------
+
+  name:  None
+     x:  [0 0], double
+     y:  [0 0], double
+xunits:
+yunits:
+-------------------------------
+</pre></div>
+
+<!-- --------------- NEXT EXAMPLE --------------- -->
+
+<hr>
+<h2 class="title"><a name="xml_file"></a>Construct a XYDATA object by loading the object from a file</h2>
+<p>The following example creates a new xydata object by loading the xydata object from disk.</p>
+<div class="fragment"><pre class="programlisting">
+xy = xydata(<span class="string">'xy.mat'</span>)
+xy = xydata(<span class="string">'xy.xml'</span>)
+</pre></div>
+
+<!-- --------------- NEXT EXAMPLE --------------- -->
+
+<hr>
+<h2 class="title"><a name="y_vector"></a>Construct a XYDATA object from a y-data vector</h2>
+<p>Creates an xy data object with the given y-data.</p>
+<div class="fragment"><pre class="programlisting">
+y  = randn(1000,1);
+
+xy = xydata(y)
+</pre></div>
+
+<!-- --------------- NEXT EXAMPLE --------------- -->
+
+<hr>
+<h2 class="title"><a name="x_y_vector"></a>Construct a XYDATA object from a x-data and y-data vector</h2>
+<p>creates an xy-data object with the given (x,y)-data.</p>
+<div class="fragment"><pre class="programlisting">
+y  = randn(1000,1);
+x  = 1:length(y);
+
+xy = xydata(x,y)
+</pre></div>
+
+
+<!-- ------------------------------------------------ -->
+<!-- --------------- END CONTENT FILE --------------- -->
+<!-- ------------------------------------------------ -->