<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1895</id>
	<title>Nabble - Octave</title>
	<updated>2009-11-24T15:12:31Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Octave-f1895.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Octave-f1895.html" />
	<subtitle type="html">GNU Octave is a high-level language, primarily intended for numerical computations. It provides a convenient command line interface for solving linear and nonlinear problems numerically, and for performing other numerical experiments using a language that is mostly compatible with Matlab. It may also be used as a batch-oriented language. Octave home is &lt;a href=&quot;http://www.octave.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26505023</id>
	<title>Re: Re: 3.2.4 call for patches</title>
	<published>2009-11-24T15:12:31Z</published>
	<updated>2009-11-24T15:12:31Z</updated>
	<author>
		<name>Tatsuro MATSUOKA-2</name>
	</author>
	<content type="html">Sorry if my reply is duplicate.
&lt;br&gt;&lt;br&gt;For changeset for development branch, please see
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/Fwd:-Re:--changeset--changet-to-acinclude.m4-for-windows-build-p26496879.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Fwd:-Re:--changeset--changet-to-acinclude.m4-for-windows-build-p26496879.html&lt;/a&gt;&lt;br&gt;This bundles a changeset 
&lt;br&gt;&lt;br&gt;One is for deleting obsolete and harmful pgnuplot check and the other is to select proper ghostscript
&lt;br&gt;binary for making graph for documents in buid process. 
&lt;br&gt;&lt;br&gt;Perhaps 3.4.0 will be released in the future so that the patch for development is to have higher
&lt;br&gt;priority. 
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;--- Jaroslav Hajek &amp;nbsp;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/11/24 Tatsuro MATSUOKA &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505023&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tmacchant@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Hello
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; It will be grateful for me if you apply the patch attached to 3.2.x branch
&lt;br&gt;&amp;gt; &amp;gt; source.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Regards
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Tatsuro
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is this to be applied to the development tree as well? If yes, I'll wait for
&lt;br&gt;&amp;gt; that then transplant.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; RNDr. Jaroslav Hajek
&lt;br&gt;&amp;gt; computing expert &amp; GNU Octave developer
&lt;br&gt;&amp;gt; Aeronautical Research and Test Institute (VZLU)
&lt;br&gt;&amp;gt; Prague, Czech Republic
&lt;br&gt;&amp;gt; url: www.highegg.matfyz.cz
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;--------------------------------------
&lt;br&gt;What is your No.1 Entertainment of 2009? -Yahoo! JAPAN Net BANZUKE 2009
&lt;br&gt;&lt;a href=&quot;http://pr.mail.yahoo.co.jp/banzuke/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pr.mail.yahoo.co.jp/banzuke/&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fwd%3A-Re%3A-3.2.4-call-for-patches-tp26493502p26505023.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26504432</id>
	<title>Re: edit on a read only file</title>
	<published>2009-11-24T14:26:53Z</published>
	<updated>2009-11-24T14:26:53Z</updated>
	<author>
		<name>Peter Cloetens</name>
	</author>
	<content type="html">Jaroslav Hajek wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Tue, Nov 24, 2009 at 9:45 PM, Peter Cloetens &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504432&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cloetens@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504432&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cloetens@...&lt;/a&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Hello,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; When you call 'edit' on a read only file, a copy of the file is
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; made in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; your home directory and the copy is edited.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; People tend to edit scripts just to view the code and learn from
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; it. The
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; issue is that after they used 'edit' a single time on a standard
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; script
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; they will have a copy in their home directory that will become their
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; default.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; This copy will not be maintained and necessarily give incompatibility
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; issues with later versions of octave.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Is there a way to change this behavior and just edit the read only
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; file
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; as it is (read only)?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; It could be solved by asking the user if a copy should be made or not,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; something along the lines:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;## If the file exists and is modifiable in place then edit it,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;## otherwise copy it and then edit it.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (! isempty (path))
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fid = fopen (path, &amp;quot;r+t&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (fid &amp;lt; 0)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;copyreadonly = input(&amp;quot;File is read-only, make a copy [y/n] ?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;quot;,&amp;quot;s&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if strcmp(copyreadonly, &amp;quot;y&amp;quot;)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from = path;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;path = strcat (FUNCTION.HOME, from (rindex (from,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; filesep):end))
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[status, msg] = copyfile (from, path, 1);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (status == 0)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;error (msg);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;endif
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;endif
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fclose(fid);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;endif
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;system (sprintf (FUNCTION.EDITOR, strcat (&amp;quot;\&amp;quot;&amp;quot;, path, &amp;quot;\&amp;quot;&amp;quot;)),
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[], FUNCTION.MODE);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;endif
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Peter
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; --
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Peter Cloetens
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; X-Ray Imaging Group
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Tel: +33 4 76 88 26 50
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Mailto: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504432&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cloetens@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504432&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cloetens@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; European Synchrotron Radiation Facility (ESRF)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 6 rue Jules Horowitz
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; F-38043 Grenoble
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.esrf.eu&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.esrf.eu&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Add this to your ~/.octaverc:
&lt;br&gt;&amp;gt; edit editinplace true
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; hth
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; RNDr. Jaroslav Hajek
&lt;br&gt;&amp;gt; computing expert &amp; GNU Octave developer
&lt;br&gt;&amp;gt; Aeronautical Research and Test Institute (VZLU)
&lt;br&gt;&amp;gt; Prague, Czech Republic
&lt;br&gt;&amp;gt; url: www.highegg.matfyz.cz &amp;lt;&lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.highegg.matfyz.cz&lt;/a&gt;&amp;gt;
&lt;/div&gt;Thanks a lot. I did not notice this possibility because we are still 
&lt;br&gt;using version 3.0.5.
&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504432&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/edit-on-a-read-only-file-tp26502981p26504432.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26504014</id>
	<title>Re: distinguishing octave versions with ifdef</title>
	<published>2009-11-24T13:49:59Z</published>
	<updated>2009-11-24T13:49:59Z</updated>
	<author>
		<name>wsfulton</name>
	</author>
	<content type="html">As Xavier mentioned, this patch is critical for dealing with API changes
&lt;br&gt;in a backwards compatible manner. Should we post the patch somewhere
&lt;br&gt;else for consideration?
&lt;br&gt;&lt;br&gt;William
&lt;br&gt;&lt;br&gt;Xavier Delacour wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Please consider the following patch that adds a non-string/numerical
&lt;br&gt;&amp;gt; form of the octave api version in src/version.h.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This allows use of preprocessor conditionals to distinguish between
&lt;br&gt;&amp;gt; octave versions, and in particular is key for SWIG to be able to
&lt;br&gt;&amp;gt; generate bindings that compile under multiple versions of octave.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Xavier
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Sun, Jul 5, 2009 at 5:25 PM, Xavier
&lt;br&gt;&amp;gt; Delacour&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504014&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xavier.delacour@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I would like to make oct-file plugins that compile properly against
&lt;br&gt;&amp;gt;&amp;gt; multiple versions of octave, in the face of internal API changes.
&lt;br&gt;&amp;gt;&amp;gt; Ideally I want something like
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; #if OCTAVE_API_VERSION &amp;gt;= 37
&lt;br&gt;&amp;gt;&amp;gt; // use new api
&lt;br&gt;&amp;gt;&amp;gt; #else
&lt;br&gt;&amp;gt;&amp;gt; // use old api
&lt;br&gt;&amp;gt;&amp;gt; #endif
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In src/version.h I see
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; #define OCTAVE_API_VERSION &amp;quot;api-v37&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; which is difficult to use from the preprocessor.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Can someone suggest a way to do what I want? (without resorting to
&lt;br&gt;&amp;gt;&amp;gt; configure magic and generating my own defines, etc).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Xavier
&lt;br&gt;&amp;gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-distinguishing-octave-versions-with-ifdef-tp24988439p26504014.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503127</id>
	<title>Re: edit on a read only file</title>
	<published>2009-11-24T12:53:49Z</published>
	<updated>2009-11-24T12:53:49Z</updated>
	<author>
		<name>Jaroslav Hajek-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 24, 2009 at 9:45 PM, Peter Cloetens &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503127&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cloetens@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hello,&lt;br&gt;
When you call &amp;#39;edit&amp;#39; on a read only file, a copy of the file is made in&lt;br&gt;
your home directory and the copy is edited.&lt;br&gt;
People tend to edit scripts just to view the code and learn from it. The&lt;br&gt;
issue is that after they used &amp;#39;edit&amp;#39; a single time on a standard script&lt;br&gt;
they will have a copy in their home directory that will become their&lt;br&gt;
default.&lt;br&gt;
This copy will not be maintained and necessarily give incompatibility&lt;br&gt;
issues with later versions of octave.&lt;br&gt;
Is there a way to change this behavior and just edit the read only file&lt;br&gt;
as it is (read only)?&lt;br&gt;
It could be solved by asking the user if a copy should be made or not,&lt;br&gt;
something along the lines:&lt;br&gt;
&lt;br&gt;
  ## If the file exists and is modifiable in place then edit it,&lt;br&gt;
  ## otherwise copy it and then edit it.&lt;br&gt;
  if (! isempty (path))&lt;br&gt;
    fid = fopen (path, &amp;quot;r+t&amp;quot;);&lt;br&gt;
    if (fid &amp;lt; 0)&lt;br&gt;
      copyreadonly = input(&amp;quot;File is read-only, make a copy [y/n] ? &amp;quot;,&amp;quot;s&amp;quot;);&lt;br&gt;
      if strcmp(copyreadonly, &amp;quot;y&amp;quot;)&lt;br&gt;
        from = path;&lt;br&gt;
        path = strcat (FUNCTION.HOME, from (rindex (from, filesep):end))&lt;br&gt;
        [status, msg] = copyfile (from, path, 1);&lt;br&gt;
        if (status == 0)&lt;br&gt;
          error (msg);&lt;br&gt;
        endif&lt;br&gt;
      endif&lt;br&gt;
    else&lt;br&gt;
      fclose(fid);&lt;br&gt;
    endif&lt;br&gt;
    system (sprintf (FUNCTION.EDITOR, strcat (&amp;quot;\&amp;quot;&amp;quot;, path, &amp;quot;\&amp;quot;&amp;quot;)),&lt;br&gt;
        [], FUNCTION.MODE);&lt;br&gt;
    return;&lt;br&gt;
  endif&lt;br&gt;
&lt;br&gt;
Peter&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
Peter Cloetens&lt;br&gt;
X-Ray Imaging Group&lt;br&gt;
Tel: +33 4 76 88 26 50&lt;br&gt;
Mailto: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503127&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cloetens@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
European Synchrotron Radiation Facility (ESRF)&lt;br&gt;
6 rue Jules Horowitz&lt;br&gt;
F-38043 Grenoble&lt;br&gt;
&lt;a href=&quot;http://www.esrf.eu&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.esrf.eu&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;Add this to your ~/.octaverc:&lt;br&gt;edit editinplace true&lt;br&gt;&lt;br&gt;hth&lt;br&gt;-- &lt;br&gt;RNDr. Jaroslav Hajek&lt;br&gt;computing expert &amp;amp; GNU Octave developer&lt;br&gt;Aeronautical Research and Test Institute (VZLU)&lt;br&gt;
Prague, Czech Republic&lt;br&gt;url: &lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.highegg.matfyz.cz&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503127&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/edit-on-a-read-only-file-tp26502981p26503127.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26502981</id>
	<title>edit on a read only file</title>
	<published>2009-11-24T12:45:40Z</published>
	<updated>2009-11-24T12:45:40Z</updated>
	<author>
		<name>Peter Cloetens</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;When you call 'edit' on a read only file, a copy of the file is made in 
&lt;br&gt;your home directory and the copy is edited.
&lt;br&gt;People tend to edit scripts just to view the code and learn from it. The 
&lt;br&gt;issue is that after they used 'edit' a single time on a standard script 
&lt;br&gt;they will have a copy in their home directory that will become their 
&lt;br&gt;default.
&lt;br&gt;This copy will not be maintained and necessarily give incompatibility 
&lt;br&gt;issues with later versions of octave.
&lt;br&gt;Is there a way to change this behavior and just edit the read only file 
&lt;br&gt;as it is (read only)?
&lt;br&gt;It could be solved by asking the user if a copy should be made or not, 
&lt;br&gt;something along the lines:
&lt;br&gt;&lt;br&gt;&amp;nbsp; ## If the file exists and is modifiable in place then edit it,
&lt;br&gt;&amp;nbsp; ## otherwise copy it and then edit it.
&lt;br&gt;&amp;nbsp; if (! isempty (path))
&lt;br&gt;&amp;nbsp; &amp;nbsp; fid = fopen (path, &amp;quot;r+t&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; if (fid &amp;lt; 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; copyreadonly = input(&amp;quot;File is read-only, make a copy [y/n] ? &amp;quot;,&amp;quot;s&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if strcmp(copyreadonly, &amp;quot;y&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from = path;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; path = strcat (FUNCTION.HOME, from (rindex (from, filesep):end))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [status, msg] = copyfile (from, path, 1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (status == 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error (msg);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; fclose(fid);
&lt;br&gt;&amp;nbsp; &amp;nbsp; endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; system (sprintf (FUNCTION.EDITOR, strcat (&amp;quot;\&amp;quot;&amp;quot;, path, &amp;quot;\&amp;quot;&amp;quot;)),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [], FUNCTION.MODE);
&lt;br&gt;&amp;nbsp; &amp;nbsp; return;
&lt;br&gt;&amp;nbsp; endif
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Peter Cloetens
&lt;br&gt;X-Ray Imaging Group
&lt;br&gt;Tel: +33 4 76 88 26 50
&lt;br&gt;Mailto: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502981&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cloetens@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;European Synchrotron Radiation Facility (ESRF)
&lt;br&gt;6 rue Jules Horowitz
&lt;br&gt;F-38043 Grenoble
&lt;br&gt;&lt;a href=&quot;http://www.esrf.eu&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.esrf.eu&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502981&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/edit-on-a-read-only-file-tp26502981p26502981.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26502724</id>
	<title>Re: Multiply some colums, discarding others</title>
	<published>2009-11-24T12:27:00Z</published>
	<updated>2009-11-24T12:27:00Z</updated>
	<author>
		<name>Jaroslav Hajek-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 24, 2009 at 9:15 PM, Ron.Simonson &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502724&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ron.simonson@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Good afternoon Renato,  The approach I would take to your&lt;br&gt;
problem is as follows:&lt;br&gt;
&lt;br&gt;
# Matrix A is &amp;quot;freq&amp;quot;, &amp;quot;impedance&amp;quot; and &amp;quot;phase&amp;quot;, like this:&lt;br&gt;
&lt;br&gt;
# properly define the Matrix A&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;A = [20.66, 12.32, 49.63;&lt;br&gt;
      21.47, 13.75, 48.86;&lt;br&gt;
      22.30, 15.92, 47.71;&lt;br&gt;
      23.17, 18.43, 45.06;&lt;br&gt;
      24.07, 22.61, 39.76];&lt;br&gt;
&lt;br&gt;
# I would like to get another Matrix, B, with the result of&lt;br&gt;
&lt;/div&gt;# multiplication of &amp;quot;impedance&amp;quot; and &amp;quot;phase&amp;quot;:&lt;br&gt;
#&lt;br&gt;
#       A(1,2) * cos(A(1,3)&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;#       A(2,2) * cos(A(2,3))&lt;br&gt;
#       A(3,2) * cos(A(3,3))&lt;br&gt;
#       A(4,2) * cos(A(4,3))&lt;br&gt;
#       A(5,2) * cos(A(5,3))&lt;br&gt;
&lt;/div&gt;#&lt;br&gt;
#&lt;br&gt;
# Matrix &amp;quot;B&amp;quot; =&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;#&lt;br&gt;
#       20.66      A(1,2) * cos(A(1,3))&lt;br&gt;
#       21.47      A(2,2) * cos(A(2,3))&lt;br&gt;
#       22.30      A(3,2) * cos(A(3,3))&lt;br&gt;
#       23.17      A(4,2) * cos(A(4,3))&lt;br&gt;
#       24.07      A(5,2) * cos(A(5,3))&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;freq = A(:,1);      # extract column 1 data into freq vector&lt;br&gt;
impedance = A(:,2); # extract column 2 data into impedance vector&lt;br&gt;
phase = A(:,3);     # extract column 3 data into phase vector&lt;br&gt;
&lt;br&gt;
B = [freq impedance .* cos(phase)]; # generate desired B matrix&lt;br&gt;
B&lt;br&gt;
clear freq impedance phase; # scuttle freq, impedance, and phase vectors&lt;br&gt;
# clearing variables helps to recover memory when needed&lt;br&gt;
&lt;br&gt;
Though not efficient in terms of storage and likely speed, extracting&lt;br&gt;
the data into named variables helps me to keep track of what each&lt;br&gt;
variable is.  I am not an expert by any means.&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Basically all Octave expressions are reference-counted values, so storing an expression into a variable never (well, almost never) causes any extra copying. Hence your approach carries essentially no extra penalty.&lt;br&gt;
 &lt;/div&gt;&lt;/div&gt;-- &lt;br&gt;RNDr. Jaroslav Hajek&lt;br&gt;computing expert &amp;amp; GNU Octave developer&lt;br&gt;Aeronautical Research and Test Institute (VZLU)&lt;br&gt;Prague, Czech Republic&lt;br&gt;url: &lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.highegg.matfyz.cz&lt;/a&gt;&lt;br&gt;

&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502724&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Multiply-some-colums%2C-discarding-others-tp26502008p26502724.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26502596</id>
	<title>Re: Multiply some colums, discarding others</title>
	<published>2009-11-24T12:15:15Z</published>
	<updated>2009-11-24T12:15:15Z</updated>
	<author>
		<name>Ron.Simonson</name>
	</author>
	<content type="html">Good afternoon Renato, &amp;nbsp;The approach I would take to your
&lt;br&gt;problem is as follows:
&lt;br&gt;&lt;br&gt;# Matrix A is &amp;quot;freq&amp;quot;, &amp;quot;impedance&amp;quot; and &amp;quot;phase&amp;quot;, like this:
&lt;br&gt;&lt;br&gt;# properly define the Matrix A
&lt;br&gt;A = [20.66, 12.32, 49.63;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 21.47, 13.75, 48.86;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 22.30, 15.92, 47.71;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 23.17, 18.43, 45.06;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 24.07, 22.61, 39.76];
&lt;br&gt;&lt;br&gt;# I would like to get another Matrix, B, with the result of
&lt;br&gt;# multiplication of &amp;quot;impedance&amp;quot; and &amp;quot;phase&amp;quot;:
&lt;br&gt;#
&lt;br&gt;#	A(1,2) * cos(A(1,3)
&lt;br&gt;#	A(2,2) * cos(A(2,3))
&lt;br&gt;#	A(3,2) * cos(A(3,3))
&lt;br&gt;#	A(4,2) * cos(A(4,3))
&lt;br&gt;#	A(5,2) * cos(A(5,3))
&lt;br&gt;#
&lt;br&gt;#
&lt;br&gt;# Matrix &amp;quot;B&amp;quot; =
&lt;br&gt;#
&lt;br&gt;#	20.66 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(1,2) * cos(A(1,3))
&lt;br&gt;#	21.47 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(2,2) * cos(A(2,3))
&lt;br&gt;#	22.30 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(3,2) * cos(A(3,3))
&lt;br&gt;#	23.17 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(4,2) * cos(A(4,3))
&lt;br&gt;#	24.07 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(5,2) * cos(A(5,3))
&lt;br&gt;&lt;br&gt;freq = A(:,1); &amp;nbsp; &amp;nbsp; &amp;nbsp;# extract column 1 data into freq vector
&lt;br&gt;impedance = A(:,2); # extract column 2 data into impedance vector
&lt;br&gt;phase = A(:,3); &amp;nbsp; &amp;nbsp; # extract column 3 data into phase vector
&lt;br&gt;&lt;br&gt;B = [freq impedance .* cos(phase)]; # generate desired B matrix
&lt;br&gt;B
&lt;br&gt;clear freq impedance phase; # scuttle freq, impedance, and phase vectors
&lt;br&gt;# clearing variables helps to recover memory when needed
&lt;br&gt;&lt;br&gt;Though not efficient in terms of storage and likely speed, extracting
&lt;br&gt;the data into named variables helps me to keep track of what each
&lt;br&gt;variable is. &amp;nbsp;I am not an expert by any means.
&lt;br&gt;&lt;br&gt;Thanks to all the expert users/programmers on this list for all the
&lt;br&gt;help I have gleaned from your posts. &amp;nbsp;I store away so many of your
&lt;br&gt;suggestions and hints that I am actually able to use octave for most
&lt;br&gt;of my data analysis needs. &amp;nbsp;A very special thanks to Professor Eaton.
&lt;br&gt;&lt;br&gt;Talk to you later. &amp;nbsp;Ron.
&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502596&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Multiply-some-colums%2C-discarding-others-tp26502008p26502596.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26502259</id>
	<title>Re: Multiply some colums, discarding others</title>
	<published>2009-11-24T11:52:45Z</published>
	<updated>2009-11-24T11:52:45Z</updated>
	<author>
		<name>Judd Storrs</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 2:29 PM, Renato S. Yamane
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502259&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yamane@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Matrix &amp;quot;B&amp;quot; =
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        20.66      A(1,2) * cos(A(1,3))
&lt;br&gt;&amp;gt;        21.47      A(2,2) * cos(A(2,3))
&lt;br&gt;&amp;gt;        22.30      A(3,2) * cos(A(3,3))
&lt;br&gt;&amp;gt;        23.17      A(4,2) * cos(A(4,3))
&lt;br&gt;&amp;gt;        24.07      A(5,2) * cos(A(5,3))
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;You can extract columns using this notation
&lt;br&gt;&lt;br&gt;A(:,1)
&lt;br&gt;A(:,2)
&lt;br&gt;A(:,3)
&lt;br&gt;&lt;br&gt;More about this here:
&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/octave/doc/interpreter/Index-Expressions.html#Index-Expressions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/octave/doc/interpreter/Index-Expressions.html#Index-Expressions&lt;/a&gt;&lt;br&gt;&lt;br&gt;You can then compute the second column at once like this:
&lt;br&gt;&lt;br&gt;A(:,2).*cos(A(:,3))
&lt;br&gt;&lt;br&gt;Notice the .* part. This is element wise multiplication instead of
&lt;br&gt;matrix multiplication. More about this here:
&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/octave/doc/interpreter/Arithmetic-Ops.html#Arithmetic-Ops&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/octave/doc/interpreter/Arithmetic-Ops.html#Arithmetic-Ops&lt;/a&gt;&lt;br&gt;&lt;br&gt;You can also combine columns using the [ ] syntax. Putting this all
&lt;br&gt;together, I think this does what you want:
&lt;br&gt;&lt;br&gt;[ A(:,1), A(:,2).*cos(A(:,3)) ]
&lt;br&gt;&lt;br&gt;&lt;br&gt;--judd
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502259&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Multiply-some-colums%2C-discarding-others-tp26502008p26502259.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26502252</id>
	<title>Re: Multiply some colums, discarding others</title>
	<published>2009-11-24T11:52:34Z</published>
	<updated>2009-11-24T11:52:34Z</updated>
	<author>
		<name>Renato S. Yamane-2</name>
	</author>
	<content type="html">On 24-11-2009 17:40, David Bateman wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; The problem is: Matrix &amp;quot;A&amp;quot; have a lot ofA lines and I need avoid type
&lt;br&gt;&amp;gt;&amp;gt; one by one, so I would like to know if is possible multiply
&lt;br&gt;&amp;gt;&amp;gt; *automatically* to get &amp;quot;frequency&amp;quot; and multiplication of impedance and
&lt;br&gt;&amp;gt;&amp;gt; phase, like this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Matrix &amp;quot;B&amp;quot; =
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 20.66 A(1,2) * cos(A(1,3))
&lt;br&gt;&amp;gt;&amp;gt; 21.47 A(2,2) * cos(A(2,3))
&lt;br&gt;&amp;gt;&amp;gt; 22.30 A(3,2) * cos(A(3,3))
&lt;br&gt;&amp;gt;&amp;gt; 23.17 A(4,2) * cos(A(4,3))
&lt;br&gt;&amp;gt;&amp;gt; 24.07 A(5,2) * cos(A(5,3))
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [A(:,1),A(:,2).*cos(A(:,3))]
&lt;/div&gt;&lt;br&gt;Thanks so much David and Norm!
&lt;br&gt;I really apreciate it!
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Renato
&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502252&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Multiply-some-colums%2C-discarding-others-tp26502008p26502252.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26502226</id>
	<title>Re: Multiply some colums, discarding others</title>
	<published>2009-11-24T11:50:37Z</published>
	<updated>2009-11-24T11:50:37Z</updated>
	<author>
		<name>macy-3</name>
	</author>
	<content type="html">you might try:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; B = [ A(:,1), A(:,2).*cos(A(:,3)) ];
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a doubt about how can I use Octave :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; E.g.:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Matrix A is &amp;quot;freq&amp;quot;, &amp;quot;impedance&amp;quot; and &amp;quot;phase&amp;quot;, like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A =
&lt;br&gt;&amp;gt; 	20.66 &amp;nbsp; &amp;nbsp; &amp;nbsp;12.32 &amp;nbsp; &amp;nbsp; &amp;nbsp;49.63
&lt;br&gt;&amp;gt; 	21.47 &amp;nbsp; &amp;nbsp; &amp;nbsp;13.75 &amp;nbsp; &amp;nbsp; &amp;nbsp;48.86
&lt;br&gt;&amp;gt; 	22.30 &amp;nbsp; &amp;nbsp; &amp;nbsp;15.92 &amp;nbsp; &amp;nbsp; &amp;nbsp;47.71
&lt;br&gt;&amp;gt; 	23.17 &amp;nbsp; &amp;nbsp; &amp;nbsp;18.43 &amp;nbsp; &amp;nbsp; &amp;nbsp;45.06
&lt;br&gt;&amp;gt; 	24.07 &amp;nbsp; &amp;nbsp; &amp;nbsp;22.61 &amp;nbsp; &amp;nbsp; &amp;nbsp;39.76
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would like to get another Matrix, B, with the result of multiplication
&lt;br&gt;&amp;gt; of &amp;quot;impedance&amp;quot; and &amp;quot;phase&amp;quot;, like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 	A(1,2) * cos(A(1,3))
&lt;br&gt;&amp;gt; 	A(2,2) * cos(A(2,3))
&lt;br&gt;&amp;gt; 	A(3,2) * cos(A(3,3))
&lt;br&gt;&amp;gt; 	A(4,2) * cos(A(4,3))
&lt;br&gt;&amp;gt; 	A(5,2) * cos(A(5,3))
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As you can see, the collum &amp;quot;frequency&amp;quot; is not used.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The problem is: Matrix &amp;quot;A&amp;quot; have a lot of lines and I need avoid type one
&lt;br&gt;&amp;gt; by one, so I would like to know if is possible multiply *automatically*
&lt;br&gt;&amp;gt; to get &amp;quot;frequency&amp;quot; and multiplication of impedance and phase, like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Matrix &amp;quot;B&amp;quot; =
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 	20.66 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(1,2) * cos(A(1,3))
&lt;br&gt;&amp;gt; 	21.47 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(2,2) * cos(A(2,3))
&lt;br&gt;&amp;gt; 	22.30 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(3,2) * cos(A(3,3))
&lt;br&gt;&amp;gt; 	23.17 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(4,2) * cos(A(4,3))
&lt;br&gt;&amp;gt; 	24.07 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(5,2) * cos(A(5,3))
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Renato S. Yamane
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502226&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Multiply-some-colums%2C-discarding-others-tp26502008p26502226.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26502217</id>
	<title>Re: Multiply some colums, discarding others</title>
	<published>2009-11-24T11:49:42Z</published>
	<updated>2009-11-24T11:49:42Z</updated>
	<author>
		<name>norm_hecht</name>
	</author>
	<content type="html">Try B = [A(:,1) A(:,2).*A(:,3)]
&lt;br&gt;&lt;br&gt;Norm Hecht
&lt;br&gt;Thornton, CO, USA
&lt;br&gt;&lt;br&gt;On Nov 24, 2009, at 12:29 PM, Renato S. Yamane wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have a doubt about how can I use Octave :-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; E.g.:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Matrix A is &amp;quot;freq&amp;quot;, &amp;quot;impedance&amp;quot; and &amp;quot;phase&amp;quot;, like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; A =
&lt;br&gt;&amp;gt; 	20.66 &amp;nbsp; &amp;nbsp; &amp;nbsp;12.32 &amp;nbsp; &amp;nbsp; &amp;nbsp;49.63
&lt;br&gt;&amp;gt; 	21.47 &amp;nbsp; &amp;nbsp; &amp;nbsp;13.75 &amp;nbsp; &amp;nbsp; &amp;nbsp;48.86
&lt;br&gt;&amp;gt; 	22.30 &amp;nbsp; &amp;nbsp; &amp;nbsp;15.92 &amp;nbsp; &amp;nbsp; &amp;nbsp;47.71
&lt;br&gt;&amp;gt; 	23.17 &amp;nbsp; &amp;nbsp; &amp;nbsp;18.43 &amp;nbsp; &amp;nbsp; &amp;nbsp;45.06
&lt;br&gt;&amp;gt; 	24.07 &amp;nbsp; &amp;nbsp; &amp;nbsp;22.61 &amp;nbsp; &amp;nbsp; &amp;nbsp;39.76
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I would like to get another Matrix, B, with the result of multiplication 
&lt;br&gt;&amp;gt; of &amp;quot;impedance&amp;quot; and &amp;quot;phase&amp;quot;, like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	A(1,2) * cos(A(1,3))
&lt;br&gt;&amp;gt; 	A(2,2) * cos(A(2,3))
&lt;br&gt;&amp;gt; 	A(3,2) * cos(A(3,3))
&lt;br&gt;&amp;gt; 	A(4,2) * cos(A(4,3))
&lt;br&gt;&amp;gt; 	A(5,2) * cos(A(5,3))
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As you can see, the collum &amp;quot;frequency&amp;quot; is not used.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The problem is: Matrix &amp;quot;A&amp;quot; have a lot of lines and I need avoid type one 
&lt;br&gt;&amp;gt; by one, so I would like to know if is possible multiply *automatically* 
&lt;br&gt;&amp;gt; to get &amp;quot;frequency&amp;quot; and multiplication of impedance and phase, like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Matrix &amp;quot;B&amp;quot; =
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	20.66 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(1,2) * cos(A(1,3))
&lt;br&gt;&amp;gt; 	21.47 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(2,2) * cos(A(2,3))
&lt;br&gt;&amp;gt; 	22.30 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(3,2) * cos(A(3,3))
&lt;br&gt;&amp;gt; 	23.17 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(4,2) * cos(A(4,3))
&lt;br&gt;&amp;gt; 	24.07 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(5,2) * cos(A(5,3))
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Renato S. Yamane
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Help-octave mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502217&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502217&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Multiply-some-colums%2C-discarding-others-tp26502008p26502217.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26502144</id>
	<title>Re: Multiply some colums, discarding others</title>
	<published>2009-11-24T11:40:55Z</published>
	<updated>2009-11-24T11:40:55Z</updated>
	<author>
		<name>dbateman</name>
	</author>
	<content type="html">Renato S. Yamane wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a doubt about how can I use Octave :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; E.g.:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Matrix A is &amp;quot;freq&amp;quot;, &amp;quot;impedance&amp;quot; and &amp;quot;phase&amp;quot;, like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A =
&lt;br&gt;&amp;gt; 	20.66 &amp;nbsp; &amp;nbsp; &amp;nbsp;12.32 &amp;nbsp; &amp;nbsp; &amp;nbsp;49.63
&lt;br&gt;&amp;gt; 	21.47 &amp;nbsp; &amp;nbsp; &amp;nbsp;13.75 &amp;nbsp; &amp;nbsp; &amp;nbsp;48.86
&lt;br&gt;&amp;gt; 	22.30 &amp;nbsp; &amp;nbsp; &amp;nbsp;15.92 &amp;nbsp; &amp;nbsp; &amp;nbsp;47.71
&lt;br&gt;&amp;gt; 	23.17 &amp;nbsp; &amp;nbsp; &amp;nbsp;18.43 &amp;nbsp; &amp;nbsp; &amp;nbsp;45.06
&lt;br&gt;&amp;gt; 	24.07 &amp;nbsp; &amp;nbsp; &amp;nbsp;22.61 &amp;nbsp; &amp;nbsp; &amp;nbsp;39.76
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would like to get another Matrix, B, with the result of multiplication 
&lt;br&gt;&amp;gt; of &amp;quot;impedance&amp;quot; and &amp;quot;phase&amp;quot;, like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 	A(1,2) * cos(A(1,3))
&lt;br&gt;&amp;gt; 	A(2,2) * cos(A(2,3))
&lt;br&gt;&amp;gt; 	A(3,2) * cos(A(3,3))
&lt;br&gt;&amp;gt; 	A(4,2) * cos(A(4,3))
&lt;br&gt;&amp;gt; 	A(5,2) * cos(A(5,3))
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;A(:,2).*cos(A(:,3))
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; As you can see, the collum &amp;quot;frequency&amp;quot; is not used.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The problem is: Matrix &amp;quot;A&amp;quot; have a lot ofA lines and I need avoid type one 
&lt;br&gt;&amp;gt; by one, so I would like to know if is possible multiply *automatically* 
&lt;br&gt;&amp;gt; to get &amp;quot;frequency&amp;quot; and multiplication of impedance and phase, like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Matrix &amp;quot;B&amp;quot; =
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 	20.66 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(1,2) * cos(A(1,3))
&lt;br&gt;&amp;gt; 	21.47 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(2,2) * cos(A(2,3))
&lt;br&gt;&amp;gt; 	22.30 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(3,2) * cos(A(3,3))
&lt;br&gt;&amp;gt; 	23.17 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(4,2) * cos(A(4,3))
&lt;br&gt;&amp;gt; 	24.07 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(5,2) * cos(A(5,3))
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;[A(:,1),A(:,2).*cos(A(:,3))]
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Renato S. Yamane
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Help-octave mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502144&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502144&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Multiply-some-colums%2C-discarding-others-tp26502008p26502144.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26502008</id>
	<title>Multiply some colums, discarding others</title>
	<published>2009-11-24T11:29:51Z</published>
	<updated>2009-11-24T11:29:51Z</updated>
	<author>
		<name>Renato S. Yamane-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have a doubt about how can I use Octave :-)
&lt;br&gt;&lt;br&gt;E.g.:
&lt;br&gt;&lt;br&gt;Matrix A is &amp;quot;freq&amp;quot;, &amp;quot;impedance&amp;quot; and &amp;quot;phase&amp;quot;, like this:
&lt;br&gt;&lt;br&gt;A =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20.66 &amp;nbsp; &amp;nbsp; &amp;nbsp;12.32 &amp;nbsp; &amp;nbsp; &amp;nbsp;49.63
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 21.47 &amp;nbsp; &amp;nbsp; &amp;nbsp;13.75 &amp;nbsp; &amp;nbsp; &amp;nbsp;48.86
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 22.30 &amp;nbsp; &amp;nbsp; &amp;nbsp;15.92 &amp;nbsp; &amp;nbsp; &amp;nbsp;47.71
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 23.17 &amp;nbsp; &amp;nbsp; &amp;nbsp;18.43 &amp;nbsp; &amp;nbsp; &amp;nbsp;45.06
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 24.07 &amp;nbsp; &amp;nbsp; &amp;nbsp;22.61 &amp;nbsp; &amp;nbsp; &amp;nbsp;39.76
&lt;br&gt;&lt;br&gt;I would like to get another Matrix, B, with the result of multiplication 
&lt;br&gt;of &amp;quot;impedance&amp;quot; and &amp;quot;phase&amp;quot;, like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A(1,2) * cos(A(1,3))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A(2,2) * cos(A(2,3))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A(3,2) * cos(A(3,3))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A(4,2) * cos(A(4,3))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A(5,2) * cos(A(5,3))
&lt;br&gt;&lt;br&gt;As you can see, the collum &amp;quot;frequency&amp;quot; is not used.
&lt;br&gt;&lt;br&gt;The problem is: Matrix &amp;quot;A&amp;quot; have a lot of lines and I need avoid type one 
&lt;br&gt;by one, so I would like to know if is possible multiply *automatically* 
&lt;br&gt;to get &amp;quot;frequency&amp;quot; and multiplication of impedance and phase, like this:
&lt;br&gt;&lt;br&gt;Matrix &amp;quot;B&amp;quot; =
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20.66 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(1,2) * cos(A(1,3))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 21.47 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(2,2) * cos(A(2,3))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 22.30 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(3,2) * cos(A(3,3))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 23.17 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(4,2) * cos(A(4,3))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 24.07 &amp;nbsp; &amp;nbsp; &amp;nbsp;A(5,2) * cos(A(5,3))
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Renato S. Yamane
&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26502008&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Multiply-some-colums%2C-discarding-others-tp26502008p26502008.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26498882</id>
	<title>Re: 3.2.4 call for patches</title>
	<published>2009-11-24T08:16:06Z</published>
	<updated>2009-11-24T08:16:06Z</updated>
	<author>
		<name>John W. Eaton-3</name>
	</author>
	<content type="html">On 24-Nov-2009, David Grundberg wrote:
&lt;br&gt;&lt;br&gt;| Furthermore, these enhancements are minor and could be added without 
&lt;br&gt;| breaking other things:
&lt;br&gt;| 
&lt;br&gt;| &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/6e6d8ea324bc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/6e6d8ea324bc&lt;/a&gt;&amp;nbsp;Add property 
&lt;br&gt;| FormatSpacing to root
&lt;br&gt;| &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/2364eebcd644&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/2364eebcd644&lt;/a&gt;&amp;nbsp;new root figure 
&lt;br&gt;| properties
&lt;br&gt;&lt;br&gt;Does adding data members to a class result in binary incompatibility
&lt;br&gt;with &amp;nbsp;previous versions? &amp;nbsp;If so, then we should skip these.
&lt;br&gt;&lt;br&gt;jwe
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/3.2.4-call-for-patches-tp26440879p26498882.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26496879</id>
	<title>Fwd: Re: [changeset] changet to acinclude.m4 for windows build</title>
	<published>2009-11-24T06:27:48Z</published>
	<updated>2009-11-24T06:27:48Z</updated>
	<author>
		<name>Tatsuro MATSUOKA-2</name>
	</author>
	<content type="html">Hello
&lt;br&gt;&lt;br&gt;The previous patch is for 3.2.x. and the patch attached to this mail is for the development branch.
&lt;br&gt;&lt;br&gt;Thank you for your kindness.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Tatsuro
&lt;br&gt;&lt;br&gt;*************************
&lt;br&gt;Hello
&lt;br&gt;&lt;br&gt;It will be grateful for me if you apply the patch attached to 3.2.x branch source.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Is this to be applied to the development tree as well? If yes, I'll wait for that then transplant.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--- Tatsuro MATSUOKA &amp;nbsp;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Sorry I have forget to attach a file.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --- Tatsuro MATSUOKA &amp;nbsp;wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Hello
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I have merged two changeset to acinclude.m4 in the development branch for building octave on
&lt;br&gt;&amp;gt; &amp;gt; windows.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;a href=&quot;http://old.nabble.com/Chageset-for-delting-the-check-for-pgnuplot-for-developmet-branch-source-trees-td26454981.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Chageset-for-delting-the-check-for-pgnuplot-for-developmet-branch-source-trees-td26454981.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/OCTAVE_PROG_GHOSTSCRIPT-for-windows-td26461151.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/OCTAVE_PROG_GHOSTSCRIPT-for-windows-td26461151.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; One is for deleting obsolete and harmful pgnuplot check and the other is to select proper
&lt;br&gt;&amp;gt; &amp;gt; ghostscript
&lt;br&gt;&amp;gt; &amp;gt; binary for making graph for documents in buid process.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Regards
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Tatsuro
&lt;/div&gt;&lt;br&gt;&lt;br&gt;--------------------------------------
&lt;br&gt;What is your No.1 Entertainment of 2009? -Yahoo! JAPAN Net BANZUKE 2009
&lt;br&gt;&lt;a href=&quot;http://pr.mail.yahoo.co.jp/banzuke/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pr.mail.yahoo.co.jp/banzuke/&lt;/a&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;changeset.acinclude.m4.patch&lt;/strong&gt; (1K) &lt;a href=&quot;http://old.nabble.com/attachment/26496879/0/changeset.acinclude.m4.patch&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fwd%3A-Re%3A--changeset--changet-to-acinclude.m4-for-windows-build-tp26496879p26496879.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26494270</id>
	<title>Re: 3.2.4 call for patches</title>
	<published>2009-11-24T03:16:51Z</published>
	<updated>2009-11-24T03:16:51Z</updated>
	<author>
		<name>David Grundberg-2</name>
	</author>
	<content type="html">Jaroslav Hajek wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; hi there,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've spent essentially no time on 3.2.x maintenance last couple of 
&lt;br&gt;&amp;gt; months, and it seems that the sources have again significantly 
&lt;br&gt;&amp;gt; diverged, but I feel like producing one more 3.2.x release before 
&lt;br&gt;&amp;gt; closing the branch and focusing on 3.4.0.
&lt;br&gt;&amp;gt; If you have any patches that you'd like to have applied to 3.2.x, 
&lt;br&gt;&amp;gt; please let me know. However, I'm not willing to invest nontrivial 
&lt;br&gt;&amp;gt; amounts of time into the individual transplants, so unless a patch is 
&lt;br&gt;&amp;gt; smoothly applicable and conforms to the binary compatibility policy, 
&lt;br&gt;&amp;gt; someone needs to convert it or the bug will stay unfixed in 3.2.x.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; regards
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.highegg.matfyz.cz&lt;/a&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Hi Jaroslav,
&lt;br&gt;&lt;br&gt;I think these bug fixing changesets are suitable for transplanting to 3.2.4:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/737624cb7560&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/737624cb7560&lt;/a&gt;&amp;nbsp;
&lt;br&gt;list_in_columns: Don't SIGFPE when given empty first argument
&lt;br&gt;&lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/384616240a8f&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/384616240a8f&lt;/a&gt;&amp;nbsp;fix internal 
&lt;br&gt;numel on classes
&lt;br&gt;&lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/3ccd3a03944c&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/3ccd3a03944c&lt;/a&gt;&amp;nbsp;Fix fourth 
&lt;br&gt;argument from sscanf
&lt;br&gt;&lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/9d9f858849c7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/9d9f858849c7&lt;/a&gt;&amp;nbsp;Allow and 
&lt;br&gt;ignore extra outargs from user-defined size methods
&lt;br&gt;&lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/fbf15a0f30f0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/fbf15a0f30f0&lt;/a&gt;&amp;nbsp;Call 
&lt;br&gt;user-defined subsref/subsasgn with 1xN structs instead of Nx1
&lt;br&gt;&lt;br&gt;Furthermore, these enhancements are minor and could be added without 
&lt;br&gt;breaking other things:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/6e6d8ea324bc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/6e6d8ea324bc&lt;/a&gt;&amp;nbsp;Add property 
&lt;br&gt;FormatSpacing to root
&lt;br&gt;&lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/2364eebcd644&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/2364eebcd644&lt;/a&gt;&amp;nbsp;new root figure 
&lt;br&gt;properties
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;David
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/3.2.4-call-for-patches-tp26440879p26494270.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493731</id>
	<title>Re: Re: 3.2.4 call for patches</title>
	<published>2009-11-24T02:42:04Z</published>
	<updated>2009-11-24T02:42:04Z</updated>
	<author>
		<name>Jaroslav Hajek-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/24 Tatsuro MATSUOKA &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493731&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tmacchant@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hello&lt;br&gt;
&lt;br&gt;
It will be grateful for me if you apply the patch attached to 3.2.x branch source.&lt;br&gt;
&lt;br&gt;
Regards&lt;br&gt;
&lt;br&gt;
Tatsuro&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Is this to be applied to the development tree as well? If yes, I&amp;#39;ll wait for that then transplant.&lt;br&gt;&lt;br&gt;-- &lt;br&gt;RNDr. Jaroslav Hajek&lt;br&gt;computing expert &amp;amp; GNU Octave developer&lt;br&gt;Aeronautical Research and Test Institute (VZLU)&lt;br&gt;
Prague, Czech Republic&lt;br&gt;url: &lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.highegg.matfyz.cz&lt;/a&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fwd%3A-Re%3A-3.2.4-call-for-patches-tp26493502p26493731.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493502</id>
	<title>Fwd: Re: 3.2.4 call for patches</title>
	<published>2009-11-24T02:19:29Z</published>
	<updated>2009-11-24T02:19:29Z</updated>
	<author>
		<name>Tatsuro MATSUOKA-2</name>
	</author>
	<content type="html">Hello
&lt;br&gt;&lt;br&gt;It will be grateful for me if you apply the patch attached to 3.2.x branch source.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Tatsuro
&lt;br&gt;&lt;br&gt;--- Tatsuro MATSUOKAwrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is not a bug fix.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; However I would like to propose to remove 'pgnuplot' check in aclocal.m4.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now on windows there exist 'gnuplot.exe' in cvs trees, which can be used &amp;nbsp;from octave.
&lt;br&gt;&amp;gt; The combination of pgnuplot+wgnuplot cannot be worked from octave 3.2.
&lt;br&gt;&amp;gt; Checking 'pgnuplot' existence is no loner be useful but is rather harmful. 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Tatsuro
&lt;br&gt;&amp;gt; --- Jaroslav Hajek wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; hi there,
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I've spent essentially no time on 3.2.x maintenance last couple of months,
&lt;br&gt;&amp;gt; &amp;gt; and it seems that the sources have again significantly diverged, but I feel
&lt;br&gt;&amp;gt; &amp;gt; like producing one more 3.2.x release before closing the branch and focusing
&lt;br&gt;&amp;gt; &amp;gt; on 3.4.0.
&lt;br&gt;&amp;gt; &amp;gt; If you have any patches that you'd like to have applied to 3.2.x, please let
&lt;br&gt;&amp;gt; &amp;gt; me know. However, I'm not willing to invest nontrivial amounts of time into
&lt;br&gt;&amp;gt; &amp;gt; the individual transplants, so unless a patch is smoothly applicable and
&lt;br&gt;&amp;gt; &amp;gt; conforms to the binary compatibility policy, someone needs to convert it or
&lt;br&gt;&amp;gt; &amp;gt; the bug will stay unfixed in 3.2.x.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;regards
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -- 
&lt;br&gt;&amp;gt; &amp;gt; RNDr. Jaroslav Hajek
&lt;br&gt;&amp;gt; &amp;gt; computing expert &amp; GNU Octave developer
&lt;br&gt;&amp;gt; &amp;gt; Aeronautical Research and Test Institute (VZLU)
&lt;br&gt;&amp;gt; &amp;gt; Prague, Czech Republic
&lt;br&gt;&amp;gt; &amp;gt; url: www.highegg.matfyz.cz
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --------------------------------------
&lt;br&gt;&amp;gt; GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://pr.mail.yahoo.co.jp/gyao/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pr.mail.yahoo.co.jp/gyao/&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;--------------------------------------
&lt;br&gt;What is your No.1 Entertainment of 2009? -Yahoo! JAPAN Net BANZUKE 2009
&lt;br&gt;&lt;a href=&quot;http://pr.mail.yahoo.co.jp/banzuke/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pr.mail.yahoo.co.jp/banzuke/&lt;/a&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;remove_pgnuplot_check.changeset&lt;/strong&gt; (1K) &lt;a href=&quot;http://old.nabble.com/attachment/26493502/0/remove_pgnuplot_check.changeset&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fwd%3A-Re%3A-3.2.4-call-for-patches-tp26493502p26493502.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26491658</id>
	<title>Re: extra F on function names</title>
	<published>2009-11-23T23:42:05Z</published>
	<updated>2009-11-23T23:42:05Z</updated>
	<author>
		<name>Marco atzeri-3</name>
	</author>
	<content type="html">--- Lun 23/11/09, Marco Atzeri &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26491658&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;marco_atzeri@...&lt;/a&gt;&amp;gt; ha scritto:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; --- Lun 23/11/09, John W. Eaton
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26491658&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jwe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ha scritto:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; On 23-Nov-2009, Marco Atzeri wrote:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; | so it looks that DLD-FUNCTIONS/* like
&lt;br&gt;&amp;gt; __contourc__.oct
&lt;br&gt;&amp;gt; &amp;gt; | are incorrectly called during the linking ?
&lt;br&gt;&amp;gt; &amp;gt; | The __contourc__.df and similar should not be used 
&lt;br&gt;&amp;gt; &amp;gt; | for such scope ?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I think the problem is that those functions should not
&lt;br&gt;&amp;gt; be
&lt;br&gt;&amp;gt; &amp;gt; listed in
&lt;br&gt;&amp;gt; &amp;gt; builtins.cc at all if they will be loaded as .oct
&lt;br&gt;&amp;gt; files and
&lt;br&gt;&amp;gt; &amp;gt; not linked
&lt;br&gt;&amp;gt; &amp;gt; directly with the octave executable.  So you need to
&lt;br&gt;&amp;gt; &amp;gt; find out why the
&lt;br&gt;&amp;gt; &amp;gt; call to mkbuiltins includes them.  Maybe it is some
&lt;br&gt;&amp;gt; &amp;gt; variant of the
&lt;br&gt;&amp;gt; &amp;gt; problem I described here:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;   &lt;a href=&quot;https://www-old.cae.wisc.edu/pipermail/octave-maintainers/2009-November/013840.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/pipermail/octave-maintainers/2009-November/013840.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; jwe
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; John,
&lt;br&gt;&amp;gt; it seems exactly the same problem.
&lt;br&gt;&amp;gt; I will test your additional patch and let you know
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; thanks
&lt;br&gt;&amp;gt; Marco
&lt;br&gt;&amp;gt;
&lt;/div&gt;unfortunately the patch is not enough
&lt;br&gt;&lt;br&gt;/pub/hg/octave_build/src/builtins.cc:942: undefined reference to `F__contourc__(octave_value_list const&amp;, int)'
&lt;br&gt;.libs/liboctinterp_la-builtins.o: In function `install___convn___fcns':
&lt;br&gt;/pub/hg/octave_build/src/builtins.cc:950: undefined reference to `F__convn__(octave_value_list const&amp;, int)'
&lt;br&gt;.libs/liboctinterp_la-builtins.o: In function `install___delaunayn___fcns':
&lt;br&gt;/pub/hg/octave_build/src/builtins.cc:958: undefined reference to `F__delaunayn__(octave_value_list const&amp;, int)'
&lt;br&gt;.libs/liboctinterp_la-builtins.o: In function `install___dsearchn___fcns':
&lt;br&gt;/pub/hg/octave_build/src/builtins.cc:966: undefined reference to `F__dsearchn__(octave_value_list const&amp;, int)'
&lt;br&gt;.libs/liboctinterp_la-builtins.o: In function `install___glpk___fcns':
&lt;br&gt;/pub/hg/octave_build/src/builtins.cc:974: undefined reference to `F__glpk__(octave_value_list const&amp;, int)'
&lt;br&gt;.libs/liboctinterp_la-builtins.o: In function `install___lin_interpn___fcns':
&lt;br&gt;/pub/hg/octave_build/src/builtins.cc:982: undefined reference to `F__lin_interpn__(octave_value_list const&amp;, int)'
&lt;br&gt;.libs/liboctinterp_la-builtins.o: In function `install___magick_read___fcns':
&lt;br&gt;/pub/hg/octave_build/src/builtins.cc:990: undefined reference to `F__magick_read__(octave_value_list const&amp;, int)'
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Marco
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/extra-F-on-function-names-tp26477169p26491658.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26491396</id>
	<title>Re: keyboard does not provide local context</title>
	<published>2009-11-23T23:11:59Z</published>
	<updated>2009-11-23T23:11:59Z</updated>
	<author>
		<name>Jaroslav Hajek-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 20, 2009 at 5:01 PM, John W. Eaton &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26491396&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jwe@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;On 20-Nov-2009, Eric Chassande-Mottin wrote:&lt;br&gt;
&lt;br&gt;
| using foo.m below,&lt;br&gt;
| if I say foo(1) from prompt I get access to local vars&lt;br&gt;
|&lt;br&gt;
| octave3.2:1&amp;gt; foo(1)&lt;br&gt;
| keyboard: stopped in /home/ecm/foo.m&lt;br&gt;
| a =  1&lt;br&gt;
| debug&amp;gt; whos&lt;br&gt;
| Variables in the current scope:&lt;br&gt;
|&lt;br&gt;
|   Attr Name        Size                     Bytes  Class&lt;br&gt;
|   ==== ====        ====                     =====  =====&lt;br&gt;
|        a           1x1                          8  double&lt;br&gt;
|        argn        1x1                          1  char&lt;br&gt;
|    f   x           1x1                          8  double&lt;br&gt;
|&lt;br&gt;
| Total is 3 elements using 17 bytes&lt;br&gt;
|&lt;br&gt;
| but when calling foo() from a script I don&amp;#39;t&lt;br&gt;
|&lt;br&gt;
| octave3.2:1&amp;gt; test&lt;br&gt;
| keyboard: stopped in /home/ecm/foo.m&lt;br&gt;
| b =  2&lt;br&gt;
| a =  1&lt;br&gt;
| debug&amp;gt; whos&lt;br&gt;
| Variables in the current scope:&lt;br&gt;
|&lt;br&gt;
|   Attr Name        Size                     Bytes  Class&lt;br&gt;
|   ==== ====        ====                     =====  =====&lt;br&gt;
|        ans         1x30                        30  char&lt;br&gt;
|        b           1x1                          8  double&lt;br&gt;
|&lt;br&gt;
| Total is 31 elements using 38 bytes&lt;br&gt;
|&lt;br&gt;
| why is that? is there a way to access local vars when calling from a script?&lt;br&gt;
|&lt;br&gt;
| I am using&lt;br&gt;
|&lt;br&gt;
| GNU Octave, version 3.2.3&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;It&amp;#39;s best to report bugs to the &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26491396&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug@...&lt;/a&gt; list.&lt;br&gt;
&lt;br&gt;
This problem has been reported several times now and it is fixed in&lt;br&gt;
the current development version of Octave.&lt;br&gt;
&lt;br&gt;
I think the relevant patches are&lt;br&gt;
&lt;br&gt;
  &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/fb22dd5d6242&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/fb22dd5d6242&lt;/a&gt;&lt;br&gt;
  &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/25c2e92ee03c&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/25c2e92ee03c&lt;/a&gt;&lt;br&gt;
  &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/bbe033dcfe13&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/bbe033dcfe13&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Jaroslav, I think it is safe to apply the first two to the 3.2.x&lt;br&gt;
branch.  I&amp;#39;m not so sure about the third one though as it removes some&lt;br&gt;
variables from a class and changes at least one function signature,&lt;br&gt;
which might cause some binary compatibility problems.&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;These don&amp;#39;t apply due to unwind_protect changes. I think the second one reverts the first one, so maybe it would suffice to adapt the second one for 3.2.x. Does it make sense without also taking the third one?&lt;br&gt;
&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;RNDr. Jaroslav Hajek&lt;br&gt;computing expert &amp;amp; GNU Octave developer&lt;br&gt;Aeronautical Research and Test Institute (VZLU)&lt;br&gt;Prague, Czech Republic&lt;br&gt;url: &lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.highegg.matfyz.cz&lt;/a&gt;&lt;br&gt;

&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26491396&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/keyboard-does-not-provide-local-context-tp26445056p26491396.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26491307</id>
	<title>Re: Print to PDF under Windows [changeset-4]</title>
	<published>2009-11-23T23:05:06Z</published>
	<updated>2009-11-23T23:05:06Z</updated>
	<author>
		<name>Jaroslav Hajek-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/23 Tatsuro MATSUOKA &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26491307&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tmacchant@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hello Jaroslav Hajek&lt;br&gt;
&lt;br&gt;
Please also apply this Ben&amp;#39;s changeset to the 3.2.x source trees.&lt;br&gt;
Two lines shift occurred but patch itself was successful for print.m in 3.2.x branch.&lt;br&gt;
&lt;br&gt;
Regards&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
Tatsuro&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Applied.&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;RNDr. Jaroslav Hajek&lt;br&gt;computing expert &amp;amp; GNU Octave developer&lt;br&gt;Aeronautical Research and Test Institute (VZLU)&lt;br&gt;Prague, Czech Republic&lt;br&gt;url: &lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.highegg.matfyz.cz&lt;/a&gt;&lt;br&gt;

&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Print-to-PDF-under-Windows-tp26433734p26491307.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26491294</id>
	<title>Re: 3.2.4 call for patches</title>
	<published>2009-11-23T23:02:26Z</published>
	<updated>2009-11-23T23:02:26Z</updated>
	<author>
		<name>Jaroslav Hajek-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 23, 2009 at 1:59 PM, Ben Abbott &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26491294&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bpabbott@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;On Nov 20, 2009, at 5:01 AM, Jaroslav Hajek wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; hi there,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I&amp;#39;ve spent essentially no time on 3.2.x maintenance last couple of months, and it seems that the sources have again significantly diverged, but I feel like producing one more 3.2.x release before closing the branch and focusing on 3.4.0.&lt;br&gt;

&amp;gt; If you have any patches that you&amp;#39;d like to have applied to 3.2.x, please let me know. However, I&amp;#39;m not willing to invest nontrivial amounts of time into the individual transplants, so unless a patch is smoothly applicable and conforms to the binary compatibility policy, someone needs to convert it or the bug will stay unfixed in 3.2.x.&lt;br&gt;

&amp;gt;&lt;br&gt;
&amp;gt; regards&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;There are two changesets (maybe more?) for the gnuplot backend that should be imported from the developers sources.&lt;br&gt;
&lt;br&gt;
        &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/4634a0e9ea1b&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/4634a0e9ea1b&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
        &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/ccad98db781b&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/ccad98db781b&lt;/a&gt;&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
Ben&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;I transplanted both of them.&lt;br&gt;Thanks&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;RNDr. Jaroslav Hajek&lt;br&gt;computing expert &amp;amp; GNU Octave developer&lt;br&gt;Aeronautical Research and Test Institute (VZLU)&lt;br&gt;Prague, Czech Republic&lt;br&gt;
url: &lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.highegg.matfyz.cz&lt;/a&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/3.2.4-call-for-patches-tp26440879p26491294.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26491286</id>
	<title>Re: 3.2.4 call for patches</title>
	<published>2009-11-23T23:00:58Z</published>
	<updated>2009-11-23T23:00:58Z</updated>
	<author>
		<name>Jaroslav Hajek-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 20, 2009 at 9:35 PM, David Bateman &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26491286&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dbateman@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;Jaroslav Hajek wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
hi there,&lt;br&gt;
&lt;br&gt;
I&amp;#39;ve spent essentially no time on 3.2.x maintenance last couple of months,&lt;br&gt;
and it seems that the sources have again significantly diverged, but I feel&lt;br&gt;
like producing one more 3.2.x release before closing the branch and focusing&lt;br&gt;
on 3.4.0.&lt;br&gt;
If you have any patches that you&amp;#39;d like to have applied to 3.2.x, please let&lt;br&gt;
me know. However, I&amp;#39;m not willing to invest nontrivial amounts of time into&lt;br&gt;
the individual transplants, so unless a patch is smoothly applicable and&lt;br&gt;
conforms to the binary compatibility policy, someone needs to convert it or&lt;br&gt;
the bug will stay unfixed in 3.2.x.&lt;br&gt;
&lt;br&gt;
regards&lt;br&gt;
&lt;br&gt;
  &lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;
The changeset&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/97de6c916498&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/97de6c916498&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
should probably also go into 3.2.4&lt;br&gt;
&lt;br&gt;
D.&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Done, thanks.&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;RNDr. Jaroslav Hajek&lt;br&gt;computing expert &amp;amp; GNU Octave developer&lt;br&gt;Aeronautical Research and Test Institute (VZLU)&lt;br&gt;Prague, Czech Republic&lt;br&gt;
url: &lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.highegg.matfyz.cz&lt;/a&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/3.2.4-call-for-patches-tp26440879p26491286.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26491274</id>
	<title>Re: 3.2.4 call for patches</title>
	<published>2009-11-23T22:59:17Z</published>
	<updated>2009-11-23T22:59:17Z</updated>
	<author>
		<name>Jaroslav Hajek-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Nov 20, 2009 at 2:39 PM, John W. Eaton &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26491274&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jwe@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;On 20-Nov-2009, Jaroslav Hajek wrote:&lt;br&gt;
&lt;br&gt;
| I&amp;#39;ve spent essentially no time on 3.2.x maintenance last couple of months,&lt;br&gt;
| and it seems that the sources have again significantly diverged, but I feel&lt;br&gt;
| like producing one more 3.2.x release before closing the branch and focusing&lt;br&gt;
| on 3.4.0.&lt;br&gt;
| If you have any patches that you&amp;#39;d like to have applied to 3.2.x, please let&lt;br&gt;
| me know. However, I&amp;#39;m not willing to invest nontrivial amounts of time into&lt;br&gt;
| the individual transplants, so unless a patch is smoothly applicable and&lt;br&gt;
| conforms to the binary compatibility policy, someone needs to convert it or&lt;br&gt;
| the bug will stay unfixed in 3.2.x.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;The following patch to allow error to be called with no argument or an&lt;br&gt;
empty argument should also be OK.  It doesn&amp;#39;t seem to have caused any&lt;br&gt;
problems.&lt;br&gt;
&lt;br&gt;
  &lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/ef45d191d833&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/ef45d191d833&lt;/a&gt;&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
jwe&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;transplanted, thanks&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;RNDr. Jaroslav Hajek&lt;br&gt;computing expert &amp;amp; GNU Octave developer&lt;br&gt;Aeronautical Research and Test Institute (VZLU)&lt;br&gt;Prague, Czech Republic&lt;br&gt;
url: &lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.highegg.matfyz.cz&lt;/a&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/3.2.4-call-for-patches-tp26440879p26491274.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26491256</id>
	<title>Re: saving an empty structure</title>
	<published>2009-11-23T22:55:37Z</published>
	<updated>2009-11-23T22:55:37Z</updated>
	<author>
		<name>Jaroslav Hajek-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sat, Nov 21, 2009 at 4:21 PM, pbellec &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26491256&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pbellec@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
--------&lt;br&gt;
Bug report for Octave 3.0.4 configured for i686-pc-linux-gnu&lt;br&gt;
&lt;br&gt;
Description:&lt;br&gt;
-----------&lt;br&gt;
&lt;br&gt;
Saving an empty structure to a mat file and then loading it will result in a&lt;br&gt;
non-empty structure with no fields, which is different of the original&lt;br&gt;
variable (in particular it is non-empty). I generated the bug report in&lt;br&gt;
octave 3.0.4, but I was able to reproduce it in octave 3.2.3 as well.&lt;br&gt;
&lt;br&gt;
Repeat-By:&lt;br&gt;
---------&lt;br&gt;
&lt;br&gt;
First, let&amp;#39;s create an empty structure&lt;br&gt;
&lt;br&gt;
octave:1&amp;gt; a = struct([])&lt;br&gt;
a =&lt;br&gt;
{&lt;br&gt;
  0x0 struct array containing the fields:&lt;br&gt;
&lt;br&gt;
}&lt;br&gt;
octave:2&amp;gt; whos a&lt;br&gt;
&lt;br&gt;
*** local user variables:&lt;br&gt;
&lt;br&gt;
  Prot Name        Size                     Bytes  Class&lt;br&gt;
  ==== ====        ====                     =====  =====&lt;br&gt;
   rwd a           0x0                          0  struct&lt;br&gt;
&lt;br&gt;
Total is 0 elements using 0 bytes&lt;br&gt;
octave:3&amp;gt; isempty(a)&lt;br&gt;
ans =  1&lt;br&gt;
&lt;br&gt;
Now, let&amp;#39;s save the structure and load the saved version&lt;br&gt;
octave:4&amp;gt; save test a&lt;br&gt;
octave:5&amp;gt; load test&lt;br&gt;
&lt;br&gt;
The structure now has one element, with no field :&lt;br&gt;
octave:6&amp;gt; a&lt;br&gt;
a =&lt;br&gt;
{&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
octave:7&amp;gt; whos a&lt;br&gt;
&lt;br&gt;
*** local user variables:&lt;br&gt;
&lt;br&gt;
  Prot Name        Size                     Bytes  Class&lt;br&gt;
  ==== ====        ====                     =====  =====&lt;br&gt;
   rwd a           1x1                          0  struct&lt;br&gt;
&lt;br&gt;
Total is 1 element using 0 bytes&lt;br&gt;
&lt;br&gt;
The difference with the original &amp;quot;a&amp;quot; is that it is not considered empty&lt;br&gt;
anymore :&lt;br&gt;
octave:8&amp;gt; isempty(a)&lt;br&gt;
ans = 0&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;&lt;br&gt;I&amp;#39;ve fixed this in the development sources:&lt;br&gt;&lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/1fac51c5f83f&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/1fac51c5f83f&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://hg.savannah.gnu.org/hgweb/octave/rev/43a7adf62534&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.savannah.gnu.org/hgweb/octave/rev/43a7adf62534&lt;/a&gt;&lt;br&gt;&lt;br&gt;John, can you take a look?&lt;br&gt;The approach is to first save the dimensions of a struct, then number of fields and fields follow.&lt;br&gt;
When loading, care is taken to preserve backward compatibility. In ascii, this is done by multiple keyword lookup (extract_keyword). In binary, the ndims is stored as a negative number, whereas len is positive.&lt;br&gt;&lt;br&gt;For ascii format, this approach is even forward-compatible, meaning that older versions of Octave will be still able to read the new files. For binary, however, it is not. Worse yet, trying it will cause Octave to abort (negative nfields used to cause panic_impossible which I think was unnecessary, so I removed it). &lt;br&gt;
&lt;br&gt;Is this OK? Should any of these go to 3.2.4?&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;RNDr. Jaroslav Hajek&lt;br&gt;computing expert &amp;amp; GNU Octave developer&lt;br&gt;Aeronautical Research and Test Institute (VZLU)&lt;br&gt;Prague, Czech Republic&lt;br&gt;
url: &lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.highegg.matfyz.cz&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26491256&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Bugs-f1896.html&quot; embed=&quot;fixTarget[1896]&quot; target=&quot;_top&quot; &gt;Octave - Bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/saving-an-empty-structure-tp26457496p26491256.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26489821</id>
	<title>Re: build trouble on MacOS 10.6</title>
	<published>2009-11-23T18:59:45Z</published>
	<updated>2009-11-23T18:59:45Z</updated>
	<author>
		<name>Carlo de Falco-2</name>
	</author>
	<content type="html">&lt;br&gt;On 24 Nov 2009, at 03:15, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26489821&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;octave-maintainers-request@...&lt;/a&gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; It doesn't appear to me that Octave is aware of /usr/lib/libstdc++. 
&lt;br&gt;&amp;gt; 6.dylib when building. Is it possible that /usr/lib/libstdc++. 
&lt;br&gt;&amp;gt; 6.dylib being loaded at run time?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If so, can someone educate me on the process by which libraries are &amp;nbsp;
&lt;br&gt;&amp;gt; searched/located?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ben
&lt;br&gt;&lt;br&gt;try:
&lt;br&gt;&lt;br&gt;man dyld
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;c.
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/build-trouble-on-MacOS-10.5-tp26462178p26489821.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26489634</id>
	<title>Re: playaduio in octave 3.2.3</title>
	<published>2009-11-23T18:31:02Z</published>
	<updated>2009-11-23T18:31:02Z</updated>
	<author>
		<name>Henry F. Mollet</name>
	</author>
	<content type="html">on 11/23/09 5:19 AM, Jaroslav Hajek at &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26489634&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;highegg@...&lt;/a&gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Sat, Nov 21, 2009 at 6:39 AM, Adrian pamin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26489634&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;relleradrian@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt; Im a little new to using octave and GNU systems but there seems to be a
&lt;br&gt;&amp;gt;&amp;gt; problem with the playaudio() function in the Octave 3.2.3 patch. When trying
&lt;br&gt;&amp;gt;&amp;gt; to use the playaudio(x) the error &amp;quot;The system cannot find the path
&lt;br&gt;&amp;gt;&amp;gt; specified.&amp;quot; I have tried this in a Vista and Win XP system yielding the same
&lt;br&gt;&amp;gt;&amp;gt; results. Below is the code used:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; t = [0:1/8000:2]
&lt;br&gt;&amp;gt;&amp;gt; sig3 = 0.8*sin(2*pi*3*t)
&lt;br&gt;&amp;gt;&amp;gt; plot(t,sig3)
&lt;br&gt;&amp;gt;&amp;gt; playaudio(sig3)
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; My friends and professor are stumped with this error as they can use the
&lt;br&gt;&amp;gt;&amp;gt; function without problems on a Linux and Mac OS. Is this possibly a Windows
&lt;br&gt;&amp;gt;&amp;gt; problem? would switching to a VM or dual booting help? Thanks in advance...
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm afraid the current playaudio is only designed to run on Unix systems,
&lt;br&gt;&amp;gt; because all it does is send data to /dev/dsp or /dev/audio. There could
&lt;br&gt;&amp;gt; probably be an alternative path for Windows, using a temporary wav file or
&lt;br&gt;&amp;gt; something similar.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; hth
&lt;/div&gt;&lt;br&gt;I cannot find /dev/dsp or /dev/audio on my mac:
&lt;br&gt;&amp;nbsp;[/dev] -bash-2.05b 504$ locate /dev/dsp
&lt;br&gt;&lt;br&gt;&amp;nbsp;[/dev] -bash-2.05b 505$ locate /dev/audio
&lt;br&gt;&lt;br&gt;&amp;nbsp;[/dev] -bash-2.05b 506$
&lt;br&gt;&lt;br&gt;Accordingly? :
&lt;br&gt;octave-3.2.2:1&amp;gt; t = [0:1/8000:2];
&lt;br&gt;octave-3.2.2:2&amp;gt; sig3 = 0.8*sin(2*pi*3*t);
&lt;br&gt;octave-3.2.2:3&amp;gt; plot(t,sig3)
&lt;br&gt;octave-3.2.2:4&amp;gt; playaudio(sig3)
&lt;br&gt;sh: line 1: /dev/dsp: Permission denied
&lt;br&gt;octave-3.2.2:5&amp;gt; help playaudio
&lt;br&gt;`playaudio' is a function from the file
&lt;br&gt;/Applications/Octave.app/Contents/Resources/share/octave/3.2.2/m/audio/playa
&lt;br&gt;udio.m
&lt;br&gt;&lt;br&gt;&amp;nbsp;-- Function File: &amp;nbsp;playaudio (NAME, EXT)
&lt;br&gt;&amp;nbsp;-- Function File: &amp;nbsp;playaudio (X)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Plays the audio file `NAME.EXT' or the audio data stored in the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;vector X.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;See also: lin2mu, mu2lin, loadaudio, saveaudio, setaudio, record
&lt;br&gt;&lt;br&gt;Henry
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26489634&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/playaduio-in-octave-3.2.3-tp26477798p26489634.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26489539</id>
	<title>Re: build trouble on MacOS 10.6</title>
	<published>2009-11-23T18:15:28Z</published>
	<updated>2009-11-23T18:15:28Z</updated>
	<author>
		<name>Ben Abbott</name>
	</author>
	<content type="html">On 21-Nov-2009, Ben Abbott wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; The build looks good until Octave is run.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Making all in interpreter
&lt;br&gt;&amp;gt; ../../run-octave -f -q -H -p . --eval &amp;quot;geometryimages ('voronoi', 'txt');&amp;quot;
&lt;br&gt;&amp;gt; make[3]: *** [voronoi.txt] Bus error
&lt;br&gt;&amp;gt; make[2]: *** [all-recursive] Error 1
&lt;br&gt;&amp;gt; make[1]: *** [all-recursive] Error 1
&lt;br&gt;&amp;gt; make: *** [all] Error 2
&lt;br&gt;&lt;br&gt;Martin (from Fink) recommended I look into the crash log (it is attached). After looking over the crash log, he noticed that there are two different libstdc++.6.dylib's being linked to (nice catch Martin, I hadn't noticed that).
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I don't really know what's going on; I can only speculate.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What looks suspicious to me is the following:
&lt;br&gt;&amp;gt; There are two copies of libstdc++ loaded
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 0x2bf7000 - &amp;nbsp;0x2c88fe7 +libstdc++.6.dylib /sw/lib/gcc4.4/lib/libstdc++.6.dylib
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 0x98a75000 - 0x98adffe7 &amp;nbsp;libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The crash happens inside Apple's libstdc++, and this seems to be pulled in from liboctinterp-3.3.50+.dylib.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Did you compile parts of that dylib with Fink's c++-4.4 and parts with Apple's c++-4.2? Maybe this leads to the crash.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Martin
&lt;/div&gt;&lt;/div&gt;Using otool (Mac OSX equivalent to ldd), I checked to see what liboctinterp was linked to.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; $ otool -L ./src/.libs/liboctinterp.dylib
&lt;br&gt;&amp;gt; ./src/.libs/liboctinterp.dylib:
&lt;br&gt;&amp;gt; 	/sw/lib/octave-3.3.50+/liboctinterp-3.3.50+.dylib (compatibility version 0.0.0, current version 0.0.0)
&lt;br&gt;&amp;gt; 	/sw/lib/octave-3.3.50+/liboctave-3.3.50+.dylib (compatibility version 0.0.0, current version 0.0.0)
&lt;br&gt;&amp;gt; 	/sw/lib/octave-3.3.50+/libcruft-3.3.50+.dylib (compatibility version 0.0.0, current version 0.0.0)
&lt;br&gt;&amp;gt; 	/sw/lib/libpcre.0.dylib (compatibility version 1.0.0, current version 1.1.0)
&lt;br&gt;&amp;gt; 	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.0)
&lt;br&gt;&amp;gt; 	/sw/lib/gcc4.4/lib/libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0)
&lt;br&gt;&amp;gt; 	/sw/lib/libGraphicsMagick.3.dylib (compatibility version 6.0.0, current version 6.0.0)
&lt;br&gt;&amp;gt; 	/sw/lib/fltk-aqua/lib/libfltk_gl.1.1.dylib (compatibility version 1.1.0, current version 1.1.4)
&lt;br&gt;&amp;gt; 	/sw/lib/fltk-aqua/lib/libfltk.1.1.dylib (compatibility version 1.1.0, current version 1.1.4)
&lt;br&gt;&amp;gt; 	/sw/lib/libfftw3.3.dylib (compatibility version 6.0.0, current version 6.4.0)
&lt;br&gt;&amp;gt; 	/sw/lib/libfftw3f.3.dylib (compatibility version 6.0.0, current version 6.4.0)
&lt;br&gt;&amp;gt; 	/sw/lib/libhdf5.0.dylib (compatibility version 1.0.0, current version 1.0.0)
&lt;br&gt;&amp;gt; 	/sw/lib/libsz.2.dylib (compatibility version 3.0.0, current version 3.0.0)
&lt;br&gt;&amp;gt; 	/usr/X11/lib/libfontconfig.1.dylib (compatibility version 5.0.0, current version 5.0.0)
&lt;br&gt;&amp;gt; 	/usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0)
&lt;br&gt;&amp;gt; 	/sw/lib/libreadline.5.dylib (compatibility version 5.0.0, current version 5.0.0)
&lt;br&gt;&amp;gt; 	/sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0, current version 5.0.0)
&lt;br&gt;&amp;gt; 	/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate (compatibility version 1.0.0, current version 4.0.0)
&lt;br&gt;&amp;gt; 	/sw/lib/freetype219/lib/libfreetype.6.dylib (compatibility version 10.0.0, current version 10.19.0)
&lt;br&gt;&amp;gt; 	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
&lt;br&gt;&amp;gt; 	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
&lt;br&gt;&amp;gt; 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 38.0.0)
&lt;br&gt;&amp;gt; 	/sw/lib/gcc4.4/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.13.0)
&lt;br&gt;&amp;gt; 	/sw/lib/gcc4.4/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
&lt;/div&gt;&lt;/div&gt;The 2nd to the last line indicates a link to /sw/lib/gcc4.4/lib/libstdc++.6.dylib, but there is no indication of &amp;nbsp;Apple's version in /usr/lib/gcc4.4/lib/libstdc++.6.dylib.
&lt;br&gt;&lt;br&gt;To see how liboctinterp is built, I deleted the lib and ran make again.
&lt;br&gt;&lt;br&gt;&amp;gt; $ rm liboctave*.dylib
&lt;br&gt;&amp;gt; $ make
&lt;br&gt;&amp;gt; rm -f liboctave.dylib
&lt;br&gt;&amp;gt; g++-4 -dynamiclib -single_module -L/sw/lib/fltk-aqua/lib -L/sw/lib/flex/lib -L/sw/lib/gcc4.4/lib/ -L/sw/lib -larpack -lgfortran -lGraphicsMagick -lfltk_gl -lfltk -lpthread -install_name /sw/lib/octave-3.2.3/liboctave.dylib -o liboctave.dylib \
&lt;br&gt;&amp;gt; [... $OBJS ...]
&lt;br&gt;&amp;gt; &amp;nbsp;-L../libcruft -L. &amp;nbsp;-lcruft -lcholmod -lumfpack &amp;nbsp;-lamd -lcamd -lcolamd -lccolamd -lcxsparse &amp;nbsp;-lqrupdate -framework Accelerate -lfftw3 -lfftw3f -lreadline &amp;nbsp;-L/sw/lib -lpcre -lreadline &amp;nbsp;-lncurses -lhdf5 -lz -lm &amp;nbsp;/sw/lib/gcc4.4/lib/libgfortran.dylib
&lt;br&gt;&amp;gt; rm -f liboctave.3.2.3.dylib
&lt;br&gt;&amp;gt; ln -s liboctave.dylib liboctave.3.2.3.dylib
&lt;br&gt;&lt;br&gt;&lt;br&gt;It doesn't appear to me that Octave is aware of /usr/lib/libstdc++.6.dylib when building. Is it possible that /usr/lib/libstdc++.6.dylib being loaded at run time?
&lt;br&gt;&lt;br&gt;If so, can someone educate me on the process by which libraries are searched/located?
&lt;br&gt;&lt;br&gt;Ben
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;octave_2009-11-22-141641_ben-abbotts-macbook-pro.crash&lt;/strong&gt; (23K) &lt;a href=&quot;http://old.nabble.com/attachment/26489539/0/octave_2009-11-22-141641_ben-abbotts-macbook-pro.crash&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Maintainers-f1900.html&quot; embed=&quot;fixTarget[1900]&quot; target=&quot;_top&quot; &gt;Octave - Maintainers&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/build-trouble-on-MacOS-10.5-tp26462178p26489539.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26489493</id>
	<title>Re: Need help with nelder_mead_min.m</title>
	<published>2009-11-23T18:07:12Z</published>
	<updated>2009-11-23T18:07:12Z</updated>
	<author>
		<name>Etienne Grossmann-6</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Hello,
&lt;br&gt;&lt;br&gt;something like
&lt;br&gt;&lt;br&gt;octave:408&amp;gt; function val = foo (xyz), val = sum (xyz .^ 2); endfunction
&lt;br&gt;octave:409&amp;gt; help nelder_mead_min
&lt;br&gt;[snip]
&lt;br&gt;### Start nelder_mead_min() from a random point
&lt;br&gt;octave:410&amp;gt; [xyz0, val0, nev] = nelder_mead_min (&amp;quot;foo&amp;quot;, randn(1,3))
&lt;br&gt;xyz0 =
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; 2.1237e-08 &amp;nbsp; 1.0243e-08 &amp;nbsp;-4.4610e-09
&lt;br&gt;&lt;br&gt;val0 = &amp;nbsp;5.7582e-16
&lt;br&gt;nev = &amp;nbsp;201
&lt;br&gt;### Start nelder_mead_min() from the minimum
&lt;br&gt;octave:411&amp;gt; [xyz0, val0, nev] = nelder_mead_min (&amp;quot;foo&amp;quot;, [0 0 0])
&lt;br&gt;xyz0 =
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; 0 &amp;nbsp; 0 &amp;nbsp; 0
&lt;br&gt;&lt;br&gt;val0 = 0
&lt;br&gt;nev = &amp;nbsp;236
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Hth,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Etienne
&lt;br&gt;&lt;br&gt;Quoting ???????? ???????
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26489493&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chainreactionerator@...&lt;/a&gt;&amp;gt; (Mon, 23 Nov 2009 21:43:57 +0300):
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can't figure out how to work with this function. I will be very
&lt;br&gt;&amp;gt; glad if one could explain the subject.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For an example lets see the problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; function y = foo (x, y, z)
&lt;br&gt;&amp;gt;     y = x**2 + y**2 + z**2;
&lt;br&gt;&amp;gt; endfunction
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I need to find a minima of the foo in [-1;1]*[-1;1]*[-1;1] region.
&lt;br&gt;&amp;gt; I know the answer, but how I must set up an options and arguments
&lt;br&gt;&amp;gt; for nelder_mead_min.m?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Grigory 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;a href=&quot;http://www.isr.ist.utl.pt/~etienne&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.isr.ist.utl.pt/~etienne&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;This message was sent using IMP, the Internet Messaging Program.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26489493&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-help-with-nelder_mead_min.m-tp26483786p26489493.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26489140</id>
	<title>Re: Sound File Images?</title>
	<published>2009-11-23T17:25:33Z</published>
	<updated>2009-11-23T17:25:33Z</updated>
	<author>
		<name>Jordi Gutiérrez Hermoso</name>
	</author>
	<content type="html">2009/11/20 rs-232 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26489140&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rs@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Pardon the Noob question, but does anyone know the best method for
&lt;br&gt;&amp;gt; transferring the data from a range of samples of a sound file into a
&lt;br&gt;&amp;gt; printable image file?
&lt;br&gt;&lt;br&gt;Have you tried using the functions from the audio package in Octave Forge?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://octave.sourceforge.net/doc/funref_audio.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://octave.sourceforge.net/doc/funref_audio.html&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26489140&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sound-File-Images--tp26447356p26489140.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26489124</id>
	<title>Re: imshow is slow on Mac OSX 10.5</title>
	<published>2009-11-23T17:22:58Z</published>
	<updated>2009-11-23T17:22:58Z</updated>
	<author>
		<name>Todd Rovito</name>
	</author>
	<content type="html">After more examination I realize that the display range being double
&lt;br&gt;won't have much effect on performance.
&lt;br&gt;&lt;br&gt;On Mon, Nov 23, 2009 at 12:04 PM, Todd Rovito &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26489124&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rovitotv@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Carlo,
&lt;br&gt;&amp;gt;   Thanks for the information!  For sure the FLTK backend is much
&lt;br&gt;&amp;gt; faster.  I was looking at the imshow command to GNUPlot and was
&lt;br&gt;&amp;gt; surprised to see that the code seems to be converting the data to
&lt;br&gt;&amp;gt; double.  Here is the code snippet from imshow.m:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ========================================================
&lt;br&gt;&amp;gt; ## Set default display range if display_range not set yet.
&lt;br&gt;&amp;gt;  if (isempty (display_range))
&lt;br&gt;&amp;gt;    display_range = [min(im(:)), max(im(:))];
&lt;br&gt;&amp;gt;  elseif (isna (display_range))
&lt;br&gt;&amp;gt;    t = class (im);
&lt;br&gt;&amp;gt;    switch (t)
&lt;br&gt;&amp;gt;      case {&amp;quot;double&amp;quot;, &amp;quot;single&amp;quot;, &amp;quot;logical&amp;quot;}
&lt;br&gt;&amp;gt;        display_range = [0, 1];
&lt;br&gt;&amp;gt;      case {&amp;quot;int8&amp;quot;, &amp;quot;int16&amp;quot;, &amp;quot;int32&amp;quot;, &amp;quot;uint8&amp;quot;, &amp;quot;uint16&amp;quot;, &amp;quot;uint32&amp;quot;}
&lt;br&gt;&amp;gt;        ## For compatibility, uint8 data should not be handled as
&lt;br&gt;&amp;gt;        ## double.  Doing so is a quick fix to allow the images to be
&lt;br&gt;&amp;gt;        ## displayed correctly.
&lt;br&gt;&amp;gt;        display_range = double ([intmin(t), intmax(t)]);
&lt;br&gt;&amp;gt;      otherwise
&lt;br&gt;&amp;gt;        error (&amp;quot;imshow: invalid data type for image&amp;quot;);
&lt;br&gt;&amp;gt;    endswitch
&lt;br&gt;&amp;gt;  endif
&lt;br&gt;&amp;gt; ======================================================
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Notice that the uint8 data is actually converted to double.  If I read
&lt;br&gt;&amp;gt; the code correctly that would make the transmission to GNU Plot over
&lt;br&gt;&amp;gt; the pipe much slower.  I will have to look into the FLTK backend too.
&lt;br&gt;&amp;gt; Again thanks for the help.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Nov 23, 2009 at 2:16 AM, Carlo de Falco &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26489124&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carlo.defalco@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On 23 Nov 2009, at 12:30, Todd Rovito wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I just started to use Octave for some image processing work and have
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; noticed how slow Octave is to display images in gnu-plot.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On my 1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; year old Mac Book Pro it can take 5 seconds to display a 4 mega-pixel
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 8 bit image.  Attached is the function I use to read such image.  I am
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; wondering if I have something installed wrong or this is a natural
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; behavior or Octave?  Please understand I am not complaining about
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Octave's performance, it seems speedy on everything except for image
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; display.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks for the help.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am afraid this is due to the way communication between Octave and gnuplot
&lt;br&gt;&amp;gt;&amp;gt; is implemented.
&lt;br&gt;&amp;gt;&amp;gt; As communication is implemented via pipes, transferring the image data to
&lt;br&gt;&amp;gt;&amp;gt; gnuplot takes about
&lt;br&gt;&amp;gt;&amp;gt; the same time as writing the whole uncompressed image data to a file and
&lt;br&gt;&amp;gt;&amp;gt; then reading it back.
&lt;br&gt;&amp;gt;&amp;gt; This is one of the reasons why a new graphics backend based on OpenGL is
&lt;br&gt;&amp;gt;&amp;gt; currently under
&lt;br&gt;&amp;gt;&amp;gt; developement.
&lt;br&gt;&amp;gt;&amp;gt; To get an idea of the speed improvement given by the new backend you can
&lt;br&gt;&amp;gt;&amp;gt; try:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; sombrero (500)
&lt;br&gt;&amp;gt;&amp;gt; close all
&lt;br&gt;&amp;gt;&amp;gt; backend ('fltk')
&lt;br&gt;&amp;gt;&amp;gt; sombrero (500)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The difference is really impressive on my own white plastic Core 2 Duo
&lt;br&gt;&amp;gt;&amp;gt; MacBook.
&lt;br&gt;&amp;gt;&amp;gt; unfortunately the new backend does not yet support imshow in the current
&lt;br&gt;&amp;gt;&amp;gt; stable release.
&lt;br&gt;&amp;gt;&amp;gt; If this feature is important to you might want to consider joining the
&lt;br&gt;&amp;gt;&amp;gt; developers mailing list
&lt;br&gt;&amp;gt;&amp;gt; and helping get Octave 3.4 out soon.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; HTH,
&lt;br&gt;&amp;gt;&amp;gt; c.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26489124&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/imshow-is-slow-on-Mac-OSX-10.5-tp26476386p26489124.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26486932</id>
	<title>Re: imshow is slow on Mac OSX 10.5</title>
	<published>2009-11-23T14:04:28Z</published>
	<updated>2009-11-23T14:04:28Z</updated>
	<author>
		<name>Todd Rovito</name>
	</author>
	<content type="html">Carlo,
&lt;br&gt;&amp;nbsp; &amp;nbsp;Thanks for the information! &amp;nbsp;For sure the FLTK backend is much
&lt;br&gt;faster. &amp;nbsp;I was looking at the imshow command to GNUPlot and was
&lt;br&gt;surprised to see that the code seems to be converting the data to
&lt;br&gt;double. &amp;nbsp;Here is the code snippet from imshow.m:
&lt;br&gt;&lt;br&gt;========================================================
&lt;br&gt;## Set default display range if display_range not set yet.
&lt;br&gt;&amp;nbsp; if (isempty (display_range))
&lt;br&gt;&amp;nbsp; &amp;nbsp; display_range = [min(im(:)), max(im(:))];
&lt;br&gt;&amp;nbsp; elseif (isna (display_range))
&lt;br&gt;&amp;nbsp; &amp;nbsp; t = class (im);
&lt;br&gt;&amp;nbsp; &amp;nbsp; switch (t)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; case {&amp;quot;double&amp;quot;, &amp;quot;single&amp;quot;, &amp;quot;logical&amp;quot;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display_range = [0, 1];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; case {&amp;quot;int8&amp;quot;, &amp;quot;int16&amp;quot;, &amp;quot;int32&amp;quot;, &amp;quot;uint8&amp;quot;, &amp;quot;uint16&amp;quot;, &amp;quot;uint32&amp;quot;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ## For compatibility, uint8 data should not be handled as
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ## double. &amp;nbsp;Doing so is a quick fix to allow the images to be
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ## displayed correctly.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display_range = double ([intmin(t), intmax(t)]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; otherwise
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error (&amp;quot;imshow: invalid data type for image&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; endswitch
&lt;br&gt;&amp;nbsp; endif
&lt;br&gt;======================================================
&lt;br&gt;&lt;br&gt;Notice that the uint8 data is actually converted to double. &amp;nbsp;If I read
&lt;br&gt;the code correctly that would make the transmission to GNU Plot over
&lt;br&gt;the pipe much slower. &amp;nbsp;I will have to look into the FLTK backend too.
&lt;br&gt;Again thanks for the help.
&lt;br&gt;&lt;br&gt;On Mon, Nov 23, 2009 at 2:16 AM, Carlo de Falco &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486932&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carlo.defalco@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 23 Nov 2009, at 12:30, Todd Rovito wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I just started to use Octave for some image processing work and have
&lt;br&gt;&amp;gt;&amp;gt; noticed how slow Octave is to display images in gnu-plot.
&lt;br&gt;&amp;gt;&amp;gt; On my 1
&lt;br&gt;&amp;gt;&amp;gt; year old Mac Book Pro it can take 5 seconds to display a 4 mega-pixel
&lt;br&gt;&amp;gt;&amp;gt; 8 bit image.  Attached is the function I use to read such image.  I am
&lt;br&gt;&amp;gt;&amp;gt; wondering if I have something installed wrong or this is a natural
&lt;br&gt;&amp;gt;&amp;gt; behavior or Octave?  Please understand I am not complaining about
&lt;br&gt;&amp;gt;&amp;gt; Octave's performance, it seems speedy on everything except for image
&lt;br&gt;&amp;gt;&amp;gt; display.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks for the help.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am afraid this is due to the way communication between Octave and gnuplot
&lt;br&gt;&amp;gt; is implemented.
&lt;br&gt;&amp;gt; As communication is implemented via pipes, transferring the image data to
&lt;br&gt;&amp;gt; gnuplot takes about
&lt;br&gt;&amp;gt; the same time as writing the whole uncompressed image data to a file and
&lt;br&gt;&amp;gt; then reading it back.
&lt;br&gt;&amp;gt; This is one of the reasons why a new graphics backend based on OpenGL is
&lt;br&gt;&amp;gt; currently under
&lt;br&gt;&amp;gt; developement.
&lt;br&gt;&amp;gt; To get an idea of the speed improvement given by the new backend you can
&lt;br&gt;&amp;gt; try:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; sombrero (500)
&lt;br&gt;&amp;gt; close all
&lt;br&gt;&amp;gt; backend ('fltk')
&lt;br&gt;&amp;gt; sombrero (500)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The difference is really impressive on my own white plastic Core 2 Duo
&lt;br&gt;&amp;gt; MacBook.
&lt;br&gt;&amp;gt; unfortunately the new backend does not yet support imshow in the current
&lt;br&gt;&amp;gt; stable release.
&lt;br&gt;&amp;gt; If this feature is important to you might want to consider joining the
&lt;br&gt;&amp;gt; developers mailing list
&lt;br&gt;&amp;gt; and helping get Octave 3.4 out soon.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; HTH,
&lt;br&gt;&amp;gt; c.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486932&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/imshow-is-slow-on-Mac-OSX-10.5-tp26476386p26486932.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26485275</id>
	<title>Re: Octave on Scientific Linux</title>
	<published>2009-11-23T12:19:56Z</published>
	<updated>2009-11-23T12:19:56Z</updated>
	<author>
		<name>Jaroslav Hajek-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 23, 2009 at 7:10 PM, Thomas Weber &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26485275&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thomas.weber.mail@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;On Mon, Nov 23, 2009 at 01:26:03PM +0100, Wim Janssen wrote:&lt;br&gt;
&amp;gt; Dear Octave-Folks,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; This afternoon I tried to make &amp;quot;octave-3.2.3&amp;quot; available on the&lt;br&gt;
&amp;gt; SL5.4-platform.&lt;br&gt;
&amp;gt; As you know Scientific Linux is very close to the RedHat-distribution.&lt;br&gt;
&amp;gt; # uname -a  results in:&lt;br&gt;
&amp;gt; Linux sundoor 2.6.18-164.6.1.el5  \&lt;br&gt;
&amp;gt; #1 SMP Tue Nov 3 23:11:58 EST 2009 i686 i686 i386 GNU/Linux&lt;br&gt;
&amp;gt; The &amp;#39;configure&amp;#39; went without errors.&lt;br&gt;
&amp;gt; And the &amp;#39;make&amp;#39; ran for a very long time with some warnings and finally&lt;br&gt;
&amp;gt; stopped with:&lt;br&gt;
&amp;gt; ../src/liboctinterp.so: undefined reference to `std::basic_istream&amp;lt;char,&lt;br&gt;
&amp;gt; std::ch../src/liboctinterp.so: undefined reference to&lt;br&gt;
&amp;gt; `__cxa_get_exception_ptr&amp;#39;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Please check whether you are linking to the right version of libstdc++&lt;br&gt;
for your compiler:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20170&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20170&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
        Thomas&lt;br&gt;
_______________________________________________&lt;br&gt;
Bug-octave mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26485275&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-octave@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;I think something very similar was reported before. The problem is mixing gcc 4.x (g++) with gcc 3.x (g77). This confuses g++ to link in wrong runtime libraries. If you can&amp;#39;t use gfortran, try specifying the correct path to C++ runtime libraries using -L.&lt;br&gt;
&lt;br&gt;-- &lt;br&gt;RNDr. Jaroslav Hajek&lt;br&gt;computing expert &amp;amp; GNU Octave developer&lt;br&gt;Aeronautical Research and Test Institute (VZLU)&lt;br&gt;Prague, Czech Republic&lt;br&gt;url: &lt;a href=&quot;http://www.highegg.matfyz.cz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.highegg.matfyz.cz&lt;/a&gt;&lt;br&gt;

&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26485275&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---Bugs-f1896.html&quot; embed=&quot;fixTarget[1896]&quot; target=&quot;_top&quot; &gt;Octave - Bugs&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Octave-on-Scientific-Linux-tp26477766p26485275.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26484326</id>
	<title>Re: Need help with nelder_mead_min.m</title>
	<published>2009-11-23T11:23:35Z</published>
	<updated>2009-11-23T11:23:35Z</updated>
	<author>
		<name>macy-3</name>
	</author>
	<content type="html">I got this to work:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; function w=foo(x); w=x.*x+2;endfunction;
&lt;br&gt;&amp;gt;&amp;gt; x=[-1:.01:1];
&lt;br&gt;&amp;gt;&amp;gt; nelder_mead_min(&amp;quot;foo&amp;quot;,&amp;quot;x&amp;quot;)
&lt;br&gt;Answer &amp;nbsp; 2
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can't figure out how to work with this function. I will be very glad if
&lt;br&gt;&amp;gt; one could explain the subject.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For an example lets see the problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; function y = foo (x, y, z)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; y = x**2 + y**2 + z**2;
&lt;br&gt;&amp;gt; endfunction
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I need to find a minima of the foo in [-1;1]*[-1;1]*[-1;1] region. I know
&lt;br&gt;&amp;gt; the answer, but how I must set up an options and arguments for
&lt;br&gt;&amp;gt; nelder_mead_min.m?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Grigory
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26484326&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-help-with-nelder_mead_min.m-tp26483786p26484326.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26484187</id>
	<title>Re: playaduio in octave 3.2.3</title>
	<published>2009-11-23T11:09:47Z</published>
	<updated>2009-11-23T11:09:47Z</updated>
	<author>
		<name>Sergei Steshenko-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;--- On Mon, 11/23/09, Jaroslav Hajek &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26484187&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;highegg@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Jaroslav Hajek &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26484187&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;highegg@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: Re: playaduio in octave 3.2.3
&lt;br&gt;&amp;gt; To: &amp;quot;Adrian pamin&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26484187&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;relleradrian@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26484187&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Date: Monday, November 23, 2009, 5:19 AM
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Sat, Nov 21, 2009 at 6:39 AM,
&lt;br&gt;&amp;gt; Adrian pamin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26484187&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;relleradrian@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; Im a little new to using octave and GNU systems but there
&lt;br&gt;&amp;gt; seems to be a problem with the playaudio() function in the
&lt;br&gt;&amp;gt; Octave 3.2.3 patch. When trying to use the playaudio(x) the
&lt;br&gt;&amp;gt; error &amp;quot;The system cannot find the path specified.&amp;quot;
&lt;br&gt;&amp;gt; I have tried this in a Vista and Win XP system yielding the
&lt;br&gt;&amp;gt; same results. Below is the code used:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; t = [0:1/8000:2]
&lt;br&gt;&amp;gt; sig3 = 0.8*sin(2*pi*3*t)
&lt;br&gt;&amp;gt; plot(t,sig3)
&lt;br&gt;&amp;gt; playaudio(sig3)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My friends and professor are stumped with this error as
&lt;br&gt;&amp;gt; they can use the function without problems on a Linux and
&lt;br&gt;&amp;gt; Mac OS. Is this possibly a Windows problem? would switching
&lt;br&gt;&amp;gt; to a VM or dual booting help? Thanks in advance...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; I'm afraid the current playaudio is only designed to
&lt;br&gt;&amp;gt; run on Unix systems, because all it does is send data to
&lt;br&gt;&amp;gt; /dev/dsp or /dev/audio. There could probably be an
&lt;br&gt;&amp;gt; alternative path for Windows, using a temporary wav file or
&lt;br&gt;&amp;gt; something similar.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; hth
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; RNDr. Jaroslav Hajek
&lt;br&gt;&amp;gt; computing expert &amp; GNU Octave developer
&lt;br&gt;&amp;gt; Aeronautical Research and Test Institute (VZLU)
&lt;br&gt;&amp;gt; Prague, Czech Republic
&lt;br&gt;&amp;gt; url: www.highegg.matfyz.cz
&lt;/div&gt;&lt;br&gt;&lt;br&gt;'sox' works both on Linux and Windows and can accept data from stdin.
&lt;br&gt;&lt;br&gt;Under Windows sox' needs CYGWIN dll, but, I think, 'sox' is distributed in
&lt;br&gt;binary for with the dll. I.e. in practical terms it behaves like regular
&lt;br&gt;Windows console application - it doesn't need full fledged CYGWIN.
&lt;br&gt;&lt;br&gt;It might make sense to implement octave -&amp;gt; sox interface.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&amp;nbsp; Sergei.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;_______________________________________________
&lt;br&gt;Help-octave mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26484187&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-octave@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://www-old.cae.wisc.edu/mailman/listinfo/help-octave&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Octave---General-f1897.html&quot; embed=&quot;fixTarget[1897]&quot; target=&quot;_top&quot; &gt;Octave - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/playaduio-in-octave-3.2.3-tp26477798p26484187.html" />
</entry>

</feed>
