From help-octave-request@bevo.che.wisc.edu Sat Sep 1 09:02:54 2001 Resent-Date: Sat, 1 Sep 2001 09:02:54 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Date: Sat, 1 Sep 2001 09:03:11 -0500 Content-Type: text/plain; format=flowed; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v388) From: "Tom L. Davis" To: help-octave@bevo.che.wisc.edu X-Mailer: Apple Mail (2.388) Content-Transfer-Encoding: 7bit Subject: Port to Mac OS X Message-Id: <20010901140246.ZZXE24171.femail23.sdc1.sfba.home.com@localhost> Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Has Octave been ported to Mac OS X? If so, are porting instructions or binaries available? Make fails trying to compile 'file-io.cc' with In file included from oct-prcstrm.h:26, from file-io.cc:61: oct-stdstrm.h:26: stdiostream.h: No such file or directory 'stdiostream.h' doesn't exist on my system, however I find 'stdiostream.o' in 'libstdc++.a'. Tom ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Sat Sep 1 15:36:22 2001 Resent-Date: Sat, 1 Sep 2001 15:36:21 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f X-Authentication-Warning: ettin.eng.auburn.edu: www-data set sender to a.s.hodel@eng.auburn.edu using -f To: "Tom L. Davis" Subject: Re: Port to Mac OS X Message-ID: <999376579.3b9146c349763@imapssl.eng.auburn.edu> Date: Sat, 01 Sep 2001 15:36:19 -0500 (CDT) From: "A. Scottedward Hodel" Cc: help-octave@bevo.che.wisc.edu References: <20010901140246.ZZXE24171.femail23.sdc1.sfba.home.com@localhost> In-Reply-To: <20010901140246.ZZXE24171.femail23.sdc1.sfba.home.com@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.6 X-Originating-IP: 24.17.200.113 Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu See http://homepage.mac.com/persquare/octave.html Quoting "Tom L. Davis" : > Has Octave been ported to Mac OS X? If so, are porting instructions or > binaries available? > > Make fails trying to compile 'file-io.cc' with > > In file included from oct-prcstrm.h:26, > from file-io.cc:61: > oct-stdstrm.h:26: stdiostream.h: No such file or directory > > 'stdiostream.h' doesn't exist on my system, however I find > 'stdiostream.o' in 'libstdc++.a'. > > Tom > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- > A. S. Hodel Assoc Prof Dept. Elect. Eng., 200 Broun Hall Auburn University, Auburn AL 36849-5201 http://www.eng.auburn.edu/~scotte ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Mon Sep 3 12:03:19 2001 Resent-Date: Mon, 3 Sep 2001 12:03:19 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f X-Originating-IP: [65.0.198.238] From: "Alan Rockwood" To: help-octave@bevo.che.wisc.edu Subject: using gnuplot (wgnuplot) with octave under windows 95 Date: Mon, 03 Sep 2001 11:03:11 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 03 Sep 2001 17:03:11.0747 (UTC) FILETIME=[5027AD30:01C1349A] Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu I am having trouble setting up wgnuplot to work with octave under windows (cygwin). I think my problem has something to do with octaverc. Here's my batch file for starting octave. It's named octave.bat: rem @echo off rem :: ..generated by GNU Octave setup.bat, then modified by ALR if not exist \tmp\nul mkdir \tmp bash --login StartOctave rd \tmp OK now, that's the end of my batch file. StartOctave looks like this: #!/bin/sh rxvt -fn "Courier New-14" -tn linux -title "GNU Octave 2.1.31" -n "GNU Octave" +sr -sl 1000 -e octave OK that's the end of StartOctave. So far, so good. Everything works fine. However, I have tried to hook octave to wgnuplot using pipe-gnuplot.exe and have not succeeded. I think it has something to do with the file octavert. This is how I set up the file octavert: ## System-wide startup file for Octave. ## ## This file should contain any commands that should be executed each ## time Octave starts for every user at this site. gnuplot_binary = "pipe-gnuplot c:/gnu/usr/local/bin/wgnuplot" putenv('TMPDIR','c:/PalmDev/cygwin/tmp') The path pointing to wgnuplot is correct. I am not sure what the purpose of the putenv line is, but it does point to an existing directory. I think the fundamental question is this: How does octave find octavert? A related question is this: Should I put the lines that I now have in octavert into the file StartOctave, or possibly into the file octave.bat? Thanks. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 4 03:10:12 2001 Resent-Date: Tue, 4 Sep 2001 03:10:12 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: <7A5AF1CAC6BDD411993900805FFEFB66029AB24D@exs24.ex.nus.edu.sg> From: Liu Jing To: Liu Jing Subject: Research Help Appreciated (Invitation to Participate on Online Su rvey on Consumer Trust in E-Commerce and Win Attractive Prizes) Date: Tue, 4 Sep 2001 16:09:21 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Resent-Message-ID: <64CaRgEHmPH.A.VGH.jxIl7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Dear Sir/Madam, Thank you very much for taking time to read this email. I am conducting a research study as partial fulfillment of my MSc degree in the Faculty of Business Administration of National University of Singapore. The aim of this study is to explore the factors that influence consumers' trust in e-commerce. Please be assured that all information gathered in this study would be kept strictly confidential and would be used for academic purposes only. I would greatly appreciate your participation in this study via the URL listed below. It will take you about 8 to 10 minutes to conduct the survey. In appreciation of your kind assistance, all complete entries will be entered into a lucky draw with attractive prizes to be won. Prizes include: * 1st Prize: US$120 Voucher * 2nd Prize: US$60 Voucher * 3rd Prize: US$30 Voucher * 4th to 20th Prizes: US$10 International Phone Cards The lucky draw will be conducted at the end of the survey and winners will be contacted via email. If you have any queries, please do not hesitate to contact me. Thank you very much for your kind participation. Your help is greatly appreciated. Yours sincerely, Liu Jing MSc student Faculty of Business Administration (Business School) National University of Singapore fbap0264@nus.edu.sg ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 4 13:09:49 2001 Resent-Date: Tue, 4 Sep 2001 13:09:49 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: <20010904180943.6809.qmail@web10506.mail.yahoo.com> Date: Tue, 4 Sep 2001 11:09:43 -0700 (PDT) From: Craig Stoudt Subject: Re: using gnuplot (wgnuplot) with octave under windows 95 ("Alan Rockwood") To: help-octave@bevo.che.wisc.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu I'm using NT; the following statements in my octaverc file work for me: putenv('TMPDIR','c:/gnu/cygwin/tmp'); gnuplot_binary = 'pgnuplot'; In addition, you need to add the path to "pgnuplot" to your PATH environment variable. On NT systems you do this via the "Control Panel;" under Win95 I believe you need to add a "set Path = ...." line to your autoexec.bat file. I believe the putenv statement tells octave where to put plot output so that gnuplot can find it. It's a bit of a pain to configure, but this stuff (Octave, Emacs, Gnuplot) really does work under Windows. Craig Stoudt __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 4 16:17:20 2001 Resent-Date: Tue, 4 Sep 2001 16:17:19 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Content-Type: text/plain; charset="iso-8859-1" From: Tom Weichmann Reply-To: tomcw@localnet.com To: "Alan Rockwood" , help-octave@bevo.che.wisc.edu Subject: Re: using gnuplot (wgnuplot) with octave under windows 95 Date: Tue, 4 Sep 2001 17:20:16 -0400 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01090417201600.01179@localhost.localdomain> Content-Transfer-Encoding: 8bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Alan, gnuplot_binary = "pipe-gnuplot c:/gnu/usr/local/bin/wgnuplot" This line tells Octave where the gnuplot executable is. For what ever reason, it looks like it is probably wrong. Use the same syntax, but point it to the correct place, probably like this: gnuplot_binary = "pipe-gnuplot c:/gnu/octave/wgnuplot/wgnuplot-3.7.exe" or something like that. Its been awhile since I make this package putenv('TMPDIR','c:/PalmDev/cygwin/tmp') This line is a workaround, there are other, but this is the one that I chose to employ. Octave writes a temp file to /tmp with its plot data for gnuplot, and then calls gnuplot and tells it to read this file from /tmp. the thing is that because these are both linux programs running on windows, the have to be told where /tmp is. By default Octave thinks that /tmp is located at $CYGWIN_ROOT/tmp in this case that would be C:\gnu\octave\tmp which is fine, but wgnuplot.exe thinks that /tmp refers to your windows default temp directory, in windows 9x: C:\windows\temp therefore wgnuplot.exe cannot find the data that octave told it to plot. If you set TMPDIR=$CYGWIN_ROOT/tmp, or in this case C:\gnu\octave\tmp then both Octave and Wgnuplot.exe will both know the correct location of the temp directory. One last note: check your /etc/profile. The first line should look like this: PATH="/usr/local/bin:/usr/bin:/bin:$PATH" add your path to wgnuplot.exe to this PATH="/usr/local/bin:/usr/bin:/bin:/wgnuplot:$PATH" or whatever it is. Hope this helps, Tom Weichmann On Monday, September 03, 2001 01:03 pm, Alan Rockwood wrote: > I am having trouble setting up wgnuplot to work with octave under windows > (cygwin). I think my problem has something to do with octaverc. > > Here's my batch file for starting octave. It's named octave.bat: > > rem @echo off > rem :: ..generated by GNU Octave setup.bat, then modified by ALR > if not exist \tmp\nul mkdir \tmp > bash --login StartOctave > rd \tmp > > > OK now, that's the end of my batch file. StartOctave looks like this: > > #!/bin/sh > rxvt -fn "Courier New-14" -tn linux -title "GNU Octave 2.1.31" -n "GNU > Octave" +sr -sl 1000 -e octave > > > OK that's the end of StartOctave. So far, so good. Everything works fine. > However, I have tried to hook octave to wgnuplot using pipe-gnuplot.exe and > have not succeeded. I think it has something to do with the file octavert. > This is how I set up the file octavert: > > ## System-wide startup file for Octave. > ## > ## This file should contain any commands that should be executed each > ## time Octave starts for every user at this site. > gnuplot_binary = "pipe-gnuplot c:/gnu/usr/local/bin/wgnuplot" > putenv('TMPDIR','c:/PalmDev/cygwin/tmp') > > The path pointing to wgnuplot is correct. I am not sure what the purpose of > the putenv line is, but it does point to an existing directory. > > I think the fundamental question is this: How does octave find octavert? > > A related question is this: Should I put the lines that I now have in > octavert into the file StartOctave, or possibly into the file octave.bat? > > Thanks. > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Wed Sep 5 13:29:19 2001 Resent-Date: Wed, 5 Sep 2001 13:29:19 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Sender: Jrigler@colorado.edu Message-ID: <3B966EF9.565DFCB1@colorado.edu> Date: Wed, 05 Sep 2001 12:29:13 -0600 From: "E. Joshua Rigler" X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: Help-Octave Subject: Is this an Octave compatible license? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Is the following copyright statement, from a library I am linking to, compatible with Octave and/or GPL? It seems rather simple, but I can't see any problems. ***** Copyright 2001 National Space Science Data Center NASA/Goddard Space Flight Center This software may be copied or redistributed as long as it is not sold for profit, but it can be incorporated into any other substantive product without any modifications for profit or non-profit. This copyright notice must be reproduced on each copy made. This software is provided as is without any express or implied warranties whatsoever. ***** This is from the NSSDC's CDF library, which I've been using to develop an Octave toolset for accessing CDF data files. I guess I'm curious in case the toolset I'm developing is ever incorporated into the Octave sources. I would imagine it wouldn't be necessary to include the CDF libraries, but rather autoconf, or whatever, could check for their existence before compiling the appropriate functions. For those who are interested, and are somewhat familiar with the CDF library, I have the CDF "Internal Interface" working for all OPEN|CONFIRM|GET|SELECT|DELETE|CLOSE functions. Any CREATE|PUT functionality is not currently implemented. My goal is to have the Internal Interface, and Epoch functions available via dynamically linked C++ routines, and to use regular scripts for any higher level functionality. Please let me know if you are interested in contributing (effort, not funds ;^). -EJR ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Wed Sep 5 14:19:49 2001 Resent-Date: Wed, 5 Sep 2001 14:19:49 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f From: "John W. Eaton" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15254.31389.704775.326676@foobar.bogus.domain> Date: Wed, 5 Sep 2001 14:18:53 -0500 To: "E. Joshua Rigler" Cc: Help-Octave Subject: Is this an Octave compatible license? In-Reply-To: <3B966EF9.565DFCB1@colorado.edu> References: <3B966EF9.565DFCB1@colorado.edu> X-Mailer: VM 6.95 under Emacs 20.7.2 Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu On 5-Sep-2001, E. Joshua Rigler wrote: | Is the following copyright statement, from a library I am linking to, | compatible with Octave and/or GPL? It seems rather simple, but I can't | see any problems. | | | ***** | Copyright 2001 | National Space Science Data Center | NASA/Goddard Space Flight Center | | This software may be copied or redistributed as long as it is not sold | for profit, That requirement would be in conflict with the GPL. | but it can be incorporated into any other substantive | product without any modifications for profit or non-profit. This statement seems poorly worded at best. Does it mean that modified versions of the software may not be distributed? If so, that is clearly in conflict with the GPL, which requires that users be able to get and modify the source code. | This is from the NSSDC's CDF library, which I've been using to develop | an Octave toolset for accessing CDF data files. I guess I'm curious in | case the toolset I'm developing is ever incorporated into the Octave | sources. I would imagine it wouldn't be necessary to include the CDF | libraries, but rather autoconf, or whatever, could check for their | existence before compiling the appropriate functions. If the license of some software is not compatible with the GPL and you create and distribute the interface glue to make it possible for Octave to link to it, and then simply ask the user to do the linking, the FSF contends that this action is the same as if you had distributed all the parts linked together. I believe the reason that they maintain this position is because to do otherwise would make the GPL quite ineffective (people could do just about whatever they want with GPL code, so long as they could write interfaces to non-free plug-ins). jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Wed Sep 5 14:19:26 2001 Resent-Date: Wed, 5 Sep 2001 14:19:26 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Date: Wed, 5 Sep 2001 21:18:14 +0200 From: Rafael Laboissiere To: "E. Joshua Rigler" Cc: Help-Octave Subject: Re: Is this an Octave compatible license? Message-ID: <20010905211814.C3909@gallium.icp.inpg.fr> Reply-To: Rafael Laboissiere References: <3B966EF9.565DFCB1@colorado.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B966EF9.565DFCB1@colorado.edu>; from Jrigler@colorado.edu on Wed, Sep 05, 2001 at 12:29:13PM -0600 Organization: Institut de la Communication Parlee, Grenoble, France Resent-Message-ID: <6ENNwyD-06B.A.ZRB.9qnl7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu * E. Joshua Rigler [2001-09-05 12:29]: > Is the following copyright statement, from a library I am linking to, > compatible with Octave and/or GPL? It seems rather simple, but I can't > see any problems. > > > ***** > Copyright 2001 > National Space Science Data Center > NASA/Goddard Space Flight Center > > This software may be copied or redistributed as long as it is not sold > for profit, but it can be incorporated into any other substantive > product without any modifications for profit or non-profit. This > copyright notice must be reproduced on each copy made. This software is > provided as is without any express or implied warranties whatsoever. > ***** Why do not you use netCDF instead of CDF? (See its home page http://www.unidata.ucar.edu/packages/netcdf.) I am not an expert on licenses, but since the netCDF library is part of the main section of the Debian distribution, it is at least DFSG-compatible (see http://www.debian.org/social_contract#guidelines). -- Rafael Laboissiere ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Thu Sep 6 09:56:44 2001 Resent-Date: Thu, 6 Sep 2001 09:56:44 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Sender: Jrigler@colorado.edu Message-ID: <3B978E70.4461CFB2@colorado.edu> Date: Thu, 06 Sep 2001 08:55:44 -0600 From: "E. Joshua Rigler" X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: Help-Octave Subject: Re: Is this an Octave compatible license? References: <3B966EF9.565DFCB1@colorado.edu> <15254.31389.704775.326676@foobar.bogus.domain> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: <_gQHf2LZ6ZJ.A.qvG.054l7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu I guess for whatever reason I didn't really take notice of the "no modification" portion of the CDF copyright notice. That's rather disappointing. I just read the netCDF copyright notice, and while it's not GPL, it addresses all of the potential problems with the CDF copyright that were mentioned in response to the original posting on this subject. Unfortunately, netCDF and CDF are not compatible with one another. I will certainly contact the authors of the CDF library, and tactfully suggest that they refer to the netCDF copyright, which was also developed at a U.S. government funded agency, but knowing typical NASA management mentality, it is unlikely anyone will take the initiative to change anything anytime soon. With the understanding that I agree that this particular NASA license is very far from ideal, I fail to understand John Eaton's interpretation of FSF's position on linking to non-free libraries. Not that I doubt he is correct, but rather I don't understand FSF's position. Such a restriction, to my mind, makes the term "free software" a rather ironic joke. I certainly understand preventing non-free software from linking to GPL'd code (why should they profit from the unselfish efforts of others, without giving anything back), but the reverse will most likely prevent more people from using the GPL license rather than encourage them. Obviously, I prefer opensource software, but I would NEVER condone forcing people to use it. If folks prefer to not use "free software", so long as they have reasonable access to it that isn't stifled by monopolistic giants (no names necessary), that is their prerogative. Honestly, the more I read about FSF's strict interpretations of "free software", the more I think they've lost touch with what it was originally about (and yes, I certainly include the FSF's esteemed founder in this category), or why so many talented and idealistic programmers and users originally embraced the idea...that being the encouragement of creative and [r]evolutionary software, unhindered by unnecessary and stifling restrictions. Just my $.02, and a small rant...sorry. I suppose I'll just have to keep my code to myself for now. -EJR "John W. Eaton" wrote: > > If the license of some software is not compatible with the GPL and you > create and distribute the interface glue to make it possible for > Octave to link to it, and then simply ask the user to do the linking, > the FSF contends that this action is the same as if you had > distributed all the parts linked together. I believe the reason that > they maintain this position is because to do otherwise would make the > GPL quite ineffective (people could do just about whatever they want > with GPL code, so long as they could write interfaces to non-free > plug-ins). > > jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Thu Sep 6 12:02:38 2001 Resent-Date: Thu, 6 Sep 2001 12:02:38 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Date: Thu, 6 Sep 2001 20:02:35 +0300 (EET DST) From: Orsila Heikki To: cc: Help-Octave Subject: Re: Is this an Octave compatible license? In-Reply-To: <3B978E70.4461CFB2@colorado.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu On Thu, 6 Sep 2001, E. Joshua Rigler wrote: > FSF's position on linking to non-free libraries. I find it sad too. > Not that I doubt he is correct, but rather I don't understand FSF's > position. Such a restriction, to my mind, makes the term "free > software" a rather ironic joke. I certainly understand preventing > non-free software from linking to GPL'd code (why should they profit > from the unselfish efforts of others, without giving anything back), but > the reverse will most likely prevent more people from using the GPL > license rather than encourage them. Obviously, I prefer opensource > software, but I would NEVER condone forcing people to use it. Fortunately, you can use GPL'ed libraries with non-gpl'ed programs if you observer following restrictions: 1. distribute gpl and non-gpl in different packages 2. products must be compiled and/or installed separately 3. use only dynamic linking GPL license has no legal value to prohibit people's personal rights to link any library to any other library whatsoever. As long as the non-gpl program doesn't use gpl'ed headers from gpl'ed library it's safe. I break no law, if I link my non-gpl with a gpl library. But I must not spread them in the same packet. Actually I can even use static linking on my own machine and I'm within my rights. And as far as I have heard. This has been done many times. But I can't right now give you any examples. The point is: GPL can not take anyone's rights away! And on top of that. It's many times possible to overcome the points FSF makes. Here are few methods - pipes (fork,execv) - sockets - sharedmem All methods above are perfectly valid ways to use GPL software with any software. One can even write specific gpl'ed wrappers to make a gpl library run as a stand alone socket based server (of course it can get tricky ;) Heikki Orsila 32 bittiä - entä sitten? heikki.orsila@tut.fi http://www.pjoy.fi/lehdet/9212pj.htm http://www.ee.tut.fi/~orsila - Petteri Järvinen (1992) ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Thu Sep 6 22:10:47 2001 Resent-Date: Thu, 6 Sep 2001 22:10:47 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Date: Thu, 6 Sep 2001 22:10:20 -0500 From: CDME To: Message-Id: <419.437140.89859502mailking98@yahoo.com> Subject: Earn $500-$1500 weekly with my MAGIC TWO Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu FOUNTAIN OF YOUTH? We Found It. (HGH YOUTH ACTIVATORE) The closest thing to the fountain of youth. For more info go to http://www.webspawner.com/users/chuckdouhlass/index.html ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Sat Sep 8 14:31:58 2001 Resent-Date: Sat, 8 Sep 2001 14:31:57 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <15246.49179.406916.135068@foobar.bogus.domain> Date: Sat, 08 Sep 2001 21:31:13 +0200 (CEST) From: Dieter.Jurzitza@t-online.de (Dr. Ing. Dieter Jurzitza) To: "help-octave@bevo.che.wisc.edu" Subject: Question about octave-2.1.34 X-Sender: 0721693427-0001@t-dialin.net Resent-Message-ID: <7gBSosgIlPI.A.SsE.tInm7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Dear listmembers, I recently installed octave-2.1.34 at my site. (SuSE 7.2; Kernel 2.4.7) Now I found that after configuration: ***** CUTMECUTMECUTMECUTME *********************** #!/bin/sh TARGETDIR=/usr CFLAGS="-D_GNU_SOURCE" CXXFLAGS="-D_GNU_SOURCE" \ ./configure --prefix=$TARGETDIR \ --exec-prefix=$TARGETDIR --enable-shared \ --libexecdir=$TARGETDIR/lib \ --infodir=$TARGETDIR/share/info --mandir=$TARGETDIR/share/man \ --enable-lite-kernel --host=i386-suse-linux ***** CUTMECUTMECUTMECUTME *********************** and then make; make install I am left with a broken symbolic link in /usr/lib/octave: drwxr-xr-x 2.1.34 -rw-r--r-- ls-R lrwxrwxrwx octave-2.1.34->octave-2.1.34 drwxr-xr-x site octave-2.1.34 is a symlink to itself; I think this should not happen. Can anybody tell me the cause (and maybe a fix ...) for this problem? Because I do not know how this should look like, I can't change it. Many thanks in advance, best regards Dieter Jurzitza ----------------------------------------------------------- E-Mail: Dr. Ing. Dieter Jurzitza Date: 08-Sep-01 Time: 21:24:50 | \ /\_/\ | | ~x~ |/-----\ / \ /- \_/ ^^__ _ / _ ____ / <°°__ \- \_/ | |/ | | || || _| _| _| _| if you really want to see the pictures above - use some font with constant spacing like courier! :-) ----------------------------------------------------------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Sat Sep 8 17:30:15 2001 Resent-Date: Sat, 8 Sep 2001 17:30:14 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sat, 08 Sep 2001 23:50:18 +0200 (CEST) From: Dieter.Jurzitza@t-online.de (Dr. Ing. Dieter Jurzitza) To: "help-octave@bevo.che.wisc.edu" Subject: RE: Question about octave-2.1.34 X-Sender: 0721693427-0001@t-dialin.net Resent-Message-ID: <7QBFTaldOZH.A.AdF.2vpm7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Dear listmembers, me again: one important difference is apparent when comparing the declaration of Makeconf.in between octave-2.0.16 and octave-2.1.34 with regard to the problem I mentioned in my first mail: the function mk-libdir-link in Makeconf.in in 2.0.16 used to test for the existence of the directory /usr/lib/octave, if this directory exists, it did nothing. This functionality has been removed for 2.1.34, therefore a link to nowhere is created as shown below (however, this ***should not happen*** because I did not find any line saying: ln -s octave-2.1.34 octave-2.1.34 ... it always ends up saying ln -s octave-2.1.34 octave; but this within /usr/lib). I assume this to be the cause of the erratic behaviour and would still appreciate any comment, take care Dieter Jurzitza ***** > I am left with a broken symbolic link in /usr/lib/octave: > > drwxr-xr-x 2.1.34 > -rw-r--r-- ls-R !!!! > lrwxrwxrwx octave-2.1.34->octave-2.1.34 !!!! > drwxr-xr-x site ***** ----------------------------------------------------------- E-Mail: Dr. Ing. Dieter Jurzitza Date: 08-Sep-01 Time: 23:32:46 | \ /\_/\ | | ~x~ |/-----\ / \ /- \_/ ^^__ _ / _ ____ / <°°__ \- \_/ | |/ | | || || _| _| _| _| if you really want to see the pictures above - use some font with constant spacing like courier! :-) ----------------------------------------------------------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Sun Sep 9 08:23:16 2001 Resent-Date: Sun, 9 Sep 2001 08:23:16 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-Id: <200109091323.XAA29911@isis.its.uow.edu.au> Content-Transfer-Encoding: 8bit Subject: Bitlevel manipulation From: Burmz MIME-Version: 1.0 To: help-octave@bevo.che.wisc.edu User-Agent: IMHO/0.97.1 (Webmail for Roxen) X-Originating-IP: [63.60.228.3] Date: Sun, 09 Sep 2001 23:23:08 +1000 Content-Type: text/plain; charset=iso-8859-1 Resent-Message-ID: <-9fo5joEBaM.A.wIB.D12m7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hi People, I'm a newbie to Octave. I have had a little experience with matlab but not a great deal. I am currently working on a project that involves being able to read in a bit-stream, modify that bit-stream and then save the new stream. Now the save bit isn't to bad, but I need to be able to perform bit-level manipulation, which means that I need to be able to read in the stream as bits, rather than integers or chars. The fread function in matlab does have this ability, but it appears taht it doesn't exist in octave in the same format. Is there a function that allows me to read in the file so that I can view individual bits? Or are there functions taht allow me to access an integer array at the bit-level. Thanks for you time and I look forward to your response Jason Burman Computer Eng UnderGrad University of Wollongong NSW, Australia jtb03@uow.edu.a ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Sun Sep 9 11:12:32 2001 Resent-Date: Sun, 9 Sep 2001 11:12:32 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Date: Sun, 9 Sep 2001 18:14:15 +0200 From: Andrés To: help-octave@bevo.che.wisc.edu Subject: Computing eigenvalues with liboctave Message-Id: <20010909181415.51b2ef0f.arabstrap@jazzfree.com> X-Mailer: Sylpheed version 0.6.0 (GTK+ 1.2.8; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu My question is simple, How can i compute the real eigenvalues of a matrix using liboctave?. I'm using the last developement version, if it could help. -- A woman drove me to drink and I didn't even have the decency to thank her. (W.C. Fields) Andrés ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Sun Sep 9 14:15:22 2001 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Resent-Date: Sun, 9 Sep 2001 14:01:36 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to info-octave-request@bevo.che.wisc.edu using -f DATE: 08 Sep 01 9:26:30 AM FROM: brian911@pop.net Message-ID: SUBJECT: Do u Know why you receive so many email? To: undisclosed-recipients:; Resent-Message-ID: Resent-From: info-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: info-octave@bevo.che.wisc.edu X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu We will put your product or service instantly into the hands of millions! Since 1996, Bulk Email Network has provided bulk email marketing to thousands of well-satisfied customers. We offer the most competitive prices in the industry, made possible by our high percentage of repeat business. We have the most advanced direct email technology employed by only a knowledgeable few in the world. We have over 160 million active email addresses All sorted by country, state, city and target. Call us for a free consultation at 323 876 6148 [U.S.A.]. We guarantee the lowest prices or your service is free! 1) Let's say you... Sell a $24.95 PRODUCT or SERVICE. 2) Let's say you... Mass Email to 1,000,000 PEOPLE DAILY. 3) Let's say you... Receive JUST 1 ORDER for EVERY 2,500 EMAILS. CALCULATION OF YOUR EARNINGS BASED ON THE ABOVE STATISTICS: [Day 1]: $9,980 [Week 1]: $69,860 [Month 1]: $279,440 Now you know why you receive so many email advertisements... Best of ALL, Bulk Email Network can be used as a 100% TAX WRITE OFF for your Business! =============================================================== "Many business people are finding out that they can now advertise in ways that they never could have afforded in the past. The cost of sending mass e-mail is extremely low, and the response rate is high and quick." - USA TODAY =============================================================== Remember we also offer: *Bulletproof Web Hosting And *Bulletproof Dial-up Account Best Regards, Jennifer O’Conner, Bulk Email Network Marketing Dept. Phone:1 (323) 876 6148 [U.S.A.] To be Opt-out Please email: optout88542@aol.com with the email address that you would like removed. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Sun Sep 9 16:28:36 2001 Resent-Date: Sun, 9 Sep 2001 16:28:35 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Sender: mj@bevo.che.wisc.edu Message-ID: <3B9BDFEA.D38BC2B1@home.se> Date: Sun, 09 Sep 2001 23:32:26 +0200 From: Mats Jansson X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i586) X-Accept-Language: en MIME-Version: 1.0 To: help-octave@bevo.che.wisc.edu Subject: Question about the list object. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu If this has been discussed before, please point me to the discussion. If 'l' is a list, 'l(1)' returns a list of length 1. This is logical because e.g. 'l(1:3)' must return a list. I thought the assignment 'l(1) = list (1)' should assign the value 1 to the first element of the list, but it doesn't. In fact 'l(1) = l(1)' changes the list 'l'. Is this a desired behavior? Regards Mats octave:82> l = list (1, 2, 3) l = ( [1] = 1 [2] = 2 [3] = 3 ) octave:83> l(1) = l(1) l = ( [1] = ( [1] = 1 ) [2] = 2 [3] = 3 ) octave:84> l(1:2) = list ("a", "b") error: invalid conversion from range to real scalar error: octave_base_value::int_value (): wrong type argument `range' error: list index must be an integer error: evaluating assignment expression near line 84, column 8 octave:84> ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Sun Sep 9 17:30:13 2001 Resent-Date: Sun, 9 Sep 2001 17:30:13 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sun, 09 Sep 2001 21:42:26 +0200 (CEST) From: Dieter.Jurzitza@t-online.de (Dr. Ing. Dieter Jurzitza) To: "help-octave@bevo.che.wisc.edu" Subject: RE: Question about octave-2.1.34 X-Sender: 0721693427-0001@t-dialin.net Resent-Message-ID: <2YY1jHVudWP.A.xaE.11-m7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Dear listmembers, I finally found out what was the cause of my difficulties. Trying to comply with the SuSE installation I assigned the same value to libexecdir that was assigned to libdir (= /usr/lib in my case). This caused the crash I had to notice. So, my problem is solved now. However, SuSE removed the directory /usr/libexec due to their argument that this does not comply to the FHS 2.1. What is your opinion about that matter? I thought about the introduction of a directory /usr/lib/octavelib rather than /usr/libexec; this changes things but hardly improves them. Therefore I would really appreciate any comment from your side with regard to that matter, take care Dieter Jurzitza ----------------------------------------------------------- E-Mail: Dr. Ing. Dieter Jurzitza Date: 09-Sep-01 Time: 21:38:30 | \ /\_/\ | | ~x~ |/-----\ / \ /- \_/ ^^__ _ / _ ____ / <°°__ \- \_/ | |/ | | || || _| _| _| _| if you really want to see the pictures above - use some font with constant spacing like courier! :-) ----------------------------------------------------------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Mon Sep 10 08:22:39 2001 Resent-Date: Mon, 10 Sep 2001 08:22:39 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Sender: pkienzle@d120203.ncnr.nist.gov Message-ID: <3B9CBEA6.397B5C39@users.sf.net> Date: Mon, 10 Sep 2001 09:22:46 -0400 From: Paul Kienzle X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: Burmz CC: help-octave@bevo.che.wisc.edu Subject: Re: Bitlevel manipulation References: <200109091323.XAA29911@isis.its.uow.edu.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Kai Habel wrote some bit manipulation functions. Unlike matlab, they are limited to 32 bits per value rather than the 52 or so that matlab provides. You can find them on sf.net/projects/octave in the CVS tree. Look in the octave/dld tree. Paul Kienzle pkienzle@users.sf.net Burmz wrote: > Hi People, > > I'm a newbie to Octave. I have had a little experience with matlab but > not a great deal. I am currently working on a project that involves > being able to read in a bit-stream, modify that bit-stream and then > save the new stream. > > Now the save bit isn't to bad, but I need to be able to perform > bit-level manipulation, which means that I need to be able to read in > the stream as bits, rather than integers or chars. The fread function > in matlab does have this ability, but it appears taht it doesn't exist > in octave in the same format. Is there a function that allows me to > read in the file so that I can view individual bits? Or are there > functions taht allow me to access an integer array at the bit-level. > > Thanks for you time and I look forward to your response > > Jason Burman > Computer Eng UnderGrad > University of Wollongong > NSW, Australia > > jtb03@uow.edu.a > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Mon Sep 10 08:26:35 2001 Resent-Date: Mon, 10 Sep 2001 08:26:35 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Sender: pkienzle@d120203.ncnr.nist.gov Message-ID: <3B9CBF8D.40B0DA4B@users.sf.net> Date: Mon, 10 Sep 2001 09:26:37 -0400 From: Paul Kienzle X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: =?iso-8859-1?Q?Andr=E9s?= CC: help-octave@bevo.che.wisc.edu Subject: Re: Computing eigenvalues with liboctave References: <20010909181415.51b2ef0f.arabstrap@jazzfree.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Resent-Message-ID: <-EOCFgNxrUH.A.jm.L-Ln7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu $ more octave/src/DLD-FUNCTIONS/eig.cc Paul Kienzle pkienzle@users.sf.net "Andrés" wrote: > My question is simple, How can i compute the real eigenvalues of a matrix > using liboctave?. > > I'm using the last developement version, if it could help. > > -- > A woman drove me to drink and I didn't even have the decency to thank her. > (W.C. Fields) > > Andrés > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Mon Sep 10 15:51:33 2001 Resent-Date: Mon, 10 Sep 2001 15:51:33 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f X-Originating-IP: [12.10.133.254] From: "Alan Rockwood" To: help-octave@bevo.che.wisc.edu Subject: finding octave-path Date: Mon, 10 Sep 2001 14:51:25 -0600 Mime-Version: 1.0 Content-Type: text/html Message-ID: X-OriginalArrivalTime: 10 Sep 2001 20:51:25.0696 (UTC) FILETIME=[5B46B800:01C13A3A] Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu


I'm new to octave. Could someone tell me how to find octave-path. and if I do find it and read it, will it be obvious how to customize it?

Thanks.

- Alan -

 



Get your FREE download of MSN Explorer at http://explorer.msn.com
------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Mon Sep 10 19:59:43 2001 Resent-Date: Mon, 10 Sep 2001 19:59:43 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f X-Originating-IP: [12.10.133.254] From: "Alan Rockwood" To: help-octave@bevo.che.wisc.edu Subject: finding gsview in epstk version 1.8 Date: Mon, 10 Sep 2001 18:59:36 -0600 Mime-Version: 1.0 Content-Type: text/html Message-ID: X-OriginalArrivalTime: 11 Sep 2001 00:59:36.0332 (UTC) FILETIME=[06C974C0:01C13A5D] Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu
I have octave working with gnuplot on windows NT. Now I'm trying to get epstk version 1.8 working. I'm 3/4 there, but still a problem. I have gsview working as a stand alone program, and I have ghostscript/gsview partly working with octave/epstk, but there is still a problem.
 
For example, I run the edomo1 program that comes with epstk and it writes the plot files to disk correctly, but then when it tries to run the viewer it gives the following error:
 
ghostview: not found
 
I have the einit.m file set up as follows:
 

ePath='./';%default directory of epstk-mfiles

%ePath='/usr/local/share/octave/site/m/epstk/m/';%default directory of epstk-mfiles

eGhostview='ghostview -magstep -1'; %ghostview for linux

%eGhostview='c:\Program Files\Ghostgum\gsview\gsview32.exe'; %ghostview for windows

eGhostscript='gs'; %ghostscript for linux

%eGhostscript='c:\Program Files\gs\gs7.00\bin\gswin32.exe'; %ghostscript for windows

 

The ghosview path for windows is correct. I have checked it perhaps 20 times, including re-typing it. However, by experimentation I have concluded that there is something wrong in the two lines that setup ghostview. For example, if I change 'ghostview -magstep...' to 'ghostgum -magstep...' the error says it can't find phostgum. Likewise, if I change it to 'gsview32 -magstep...' the error says it can't find gsview32. I tried those two words because one relates to a directory name, and one relates to the executable file name. Anyway, it seem obvious that the problem is in that line, or perhaps the line that follows it.

 

Can anyone provide some ideas?



Get your FREE download of MSN Explorer at http://explorer.msn.com
------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 11 04:08:22 2001 Resent-Date: Tue, 11 Sep 2001 04:08:22 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Subject: legends in octave To: help-octave@bevo.che.wisc.edu X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 Message-ID: From: johan.ekh@secrc.abb.se Date: Tue, 11 Sep 2001 10:07:55 +0100 X-MIMETrack: Serialize by Router on ABB_SECRC_HUB01/SECRC/ABB(Release 5.0.6a |January 17, 2001) at 2001-09-11 11:07:57 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hello! Is it possible to create graph legends that contains variables? For instance something like for i=1:3 plot(array1,array2,"-;legend nr;",i) endfor Regards Johan ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 11 04:39:06 2001 Resent-Date: Tue, 11 Sep 2001 04:39:05 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f To: help-octave@bevo.che.wisc.edu Path: not-for-mail From: Mats Jansson Newsgroups: nera.mail2news.octave.help-octave Subject: Re: legends in octave Date: 11 Sep 2001 11:38:36 +0200 Organization: Nera Telecommunications Lines: 32 Message-ID: References: NNTP-Posting-Host: pivo.bgo.nera.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pctkj.nera.no 1000201116 28652 137.133.15.110 (11 Sep 2001 09:38:36 GMT) X-Complaints-To: news@pctkj.nera.no NNTP-Posting-Date: 11 Sep 2001 09:38:36 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3 Cache-Post-Path: pivo.bgo.nera.no!unknown@pctkj.bgo.nera.no X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Resent-Message-ID: <7kNDpuntg3E.A.ONG.4udn7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu johan.ekh@secrc.abb.se writes: > Hello! > Is it possible to create graph legends that contains variables? > For instance something like > > for i=1:3 > plot(array1,array2,"-;legend nr;",i) > endfor > > Regards > > Johan Hej Johan! For example: octave:1> x = (-10:10)'; octave:2> y = [x.^1, x.^2, x.^3]; octave:3> hold on octave:4> for n = 1:3, > plot (x, y(:,n), sprintf ("-;%d;", n)) > endfor octave:5> Regards, -- Mats Jansson phone (+47) 55 22 52 02 Research and Development fax (+47) 55 22 52 99 Nera Networks AS, P.O.Box 7090, N-5020 Bergen, Norway ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 11 08:37:40 2001 Resent-Date: Tue, 11 Sep 2001 08:37:39 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Sender: sszabo@bevo.che.wisc.edu Message-ID: <3B9E139A.2639EE2C@chardonnay.math.bme.hu> Date: Tue, 11 Sep 2001 15:37:30 +0200 From: SZABO Sandor Organization: Technical University of Budapest X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.9+crypto+ext3+pspa+medusa+ulog+ippers+lvm-chardonnay i686) X-Accept-Language: en, hu MIME-Version: 1.0 To: help-octave@bevo.che.wisc.edu Subject: LU decomposition Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hello, I want to obtain the LU decomposition of a matrix. (That is A=L*U, without P(!), NOT P*A=L*U.) I can do it with Mathematica and Maple, but how could I obtain the SAME result?! I use 2.1.34 Octave version. >> A=[1 4 7; 2 5 8; 3 6 11] A = 1 4 7 2 5 8 3 6 11 >> [L,U]=lu(A) L = 0.33333 1.00000 0.00000 0.66667 0.50000 1.00000 1.00000 0.00000 0.00000 U = 1.0e+01 * 0.30000 0.60000 1.10000 0.00000 0.20000 0.33333 0.00000 0.00000 -0.10000 >> L*U ans = 1 4 7 2 5 8 3 6 11 Here L is NOT lower triangular matrix! The LU decomposition of A is the following L= 1 0 0 2 1 0 3 2 1 U= 1 4 7 0 -3 -6 0 0 2 Thanks, Sandor Szabo ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 11 08:41:46 2001 Resent-Date: Tue, 11 Sep 2001 08:41:46 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Content-Type: text/plain; charset="iso-8859-1" From: Hendrik Naumann Reply-To: hn75@gmx.de To: "Alan Rockwood" , Octave-Help Subject: Re: finding gsview in epstk version 1.8 Date: Tue, 11 Sep 2001 15:41:28 +0200 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01091115412808.00470@mobile> Content-Transfer-Encoding: 8bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi First. Please write txt-mails, otherwise it will be a horror to correctly cite your mail. > ePath='./';%default directory of epstk-mfiles > > %ePath='/usr/local/share/octave/site/m/epstk/m/';%default directory > of epstk-mfiles > > eGhostview='ghostview -magstep -1'; %ghostview for linux > > %eGhostview='c:\Program Files\Ghostgum\gsview\gsview32.exe'; > %ghostview for windows > > eGhostscript='gs'; %ghostscript for linux > > %eGhostscript='c:\Program Files\gs\gs7.00\bin\gswin32.exe'; > %ghostscript for windows If this is still the version You use, it CAN not work. The % is the sign for comments. That means tha value of eGhostview is set to 'ghostview -magstep -1' wich is the linux setting. You have to put % sign in fron of the linux settings and delete the % sign in front of the windows settings. Please have a look at the docu for the syntax of octave. You can also find the answer to your earlier by serching the variable index of the octave doku. (aswer path) Hendrik - -- PGP ID 21F0AC0265C92061 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7nhSJIfCsAmXJIGERAtgjAJwLx5YLn68iZ6MYG+7N6EafU0lV7wCfXLkF srbgTitd1+lcy+Uza2D9Dlk= =Vwk/ -----END PGP SIGNATURE----- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 11 10:39:30 2001 Resent-Date: Tue, 11 Sep 2001 10:39:30 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f X-Originating-IP: [12.10.133.254] From: "Alan Rockwood" To: help-octave@bevo.che.wisc.edu Subject: Re: finding gsview in epstk version 1.8... thanks, and here's more info. Date: Tue, 11 Sep 2001 09:39:23 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 11 Sep 2001 15:39:23.0303 (UTC) FILETIME=[EE460370:01C13AD7] Resent-Message-ID: <8nMldTaDlrC.A.IY.xAjn7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Thanks to all who have responded to my question on epstk/gsview. With the information given in the posts, plus a little guessing and experimentation on my own I found that the following lines worked. %ePath='./';%default directory of epstk-mfiles ePath='/usr/local/share/octave/site/m/epstk/m/';%default directory of epstk-mfiles %eGhostview='ghostview -magstep -1'; %ghostview for linux eGhostview='"c:/Program Files/Ghostgum/gsview/gsview32.exe"'; %ghostview for windows %eGhostscript='gs'; %ghostscript for linux eGhostscript='"c:/Program Files/gs/gs7.00/bin/gswin32.exe"'; %ghostscript for windows In addition to fixing the character %, I also found it necessary to place double quotes inside the single quotes and to replace the backslashes with forward slashes in the paths to gsview and ghostscript. (I suspect that part of the problem was the space in the name of the directory Program Files.) It may be a good idea to add this information to the installation notes. - Alan - _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 11 11:03:51 2001 Resent-Date: Tue, 11 Sep 2001 11:03:50 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Mime-Version: 1.0 X-Sender: scotte@pophost.eng.auburn.edu Message-Id: In-Reply-To: <3B9E139A.2639EE2C@chardonnay.math.bme.hu> References: <3B9E139A.2639EE2C@chardonnay.math.bme.hu> Date: Tue, 11 Sep 2001 11:03:19 -0500 To: SZABO Sandor From: A S Hodel Subject: Re: LU decomposition Cc: help-octave@bevo.che.wisc.edu Content-Type: text/plain; charset="us-ascii" ; format="flowed" Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu What you're trying to do is numerically ill conditioned; e.g., A = [0 1; 1 0] has no LU decompostion without pivoting. You may need to write your own routine to do the gaussian reduction. That's not too difficult (but the algorithm is "stinky"). See Golub and van Loan's book Matrix Computations for details on implementation and pitfalls. >Hello, > >I want to obtain the LU decomposition of a matrix. >(That is A=L*U, without P(!), NOT P*A=L*U.) >I can do it with Mathematica and Maple, but how >could I obtain the SAME result?! >I use 2.1.34 Octave version. >>> A=[1 4 7; 2 5 8; 3 6 11] >A = > > 1 4 7 > 2 5 8 > 3 6 11 >>> [L,U]=lu(A) >L = > > 0.33333 1.00000 0.00000 > 0.66667 0.50000 1.00000 > 1.00000 0.00000 0.00000 > >U = > > 1.0e+01 * > > 0.30000 0.60000 1.10000 > 0.00000 0.20000 0.33333 > 0.00000 0.00000 -0.10000 > >>> L*U >ans = > > 1 4 7 > 2 5 8 > 3 6 11 > >Here L is NOT lower triangular matrix! >The LU decomposition of A is the following > > >L= > 1 0 0 > 2 1 0 > 3 2 1 > >U= > 1 4 7 > 0 -3 -6 > 0 0 2 > >Thanks, > Sandor Szabo > > > > > >------------------------------------------------------------- >Octave is freely available under the terms of the GNU GPL. > >Octave's home on the web: http://www.octave.org >How to fund new projects: http://www.octave.org/funding.html >Subscription information: http://www.octave.org/archive.html >------------------------------------------------------------- -- -- A. S. Hodel 200 Broun Hall Dept. Elect. & Comp. Eng., Auburn Univ. AL 36849-5201 http://www.eng.auburn.edu/~scotte 334 844 1854 Fax: -1809 ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 11 13:42:47 2001 Resent-Date: Tue, 11 Sep 2001 13:42:46 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Reply-To: From: "Steve Goncalo" To: Subject: Can't get mkoctfile to run under Cygwin Date: Tue, 11 Sep 2001 14:46:11 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu I can get Octave to compile and run under cygwin (1.3.2-1 w/ gcc 2.95.3-5), but I can not get the mkoctfile command to build the hello.cc example. I've tried with both the 2.0.16 "stable" build and with 2.1.34 and got similar results. I put a "set -x" command in the mkoctfile script and convinced myself I was compiling OK and the problem was in the link. internally, the script is linking with the command: c++ -shared -o hello.oct hello.o I tried adding -L/usr/local/lib/octave and -l's with the three libs in that area, but that only made matters worse. Am I doing something wrong, or is the .oct interface broken under Cygwin? $ mkoctfile hello.cc hello.o: In function `FShello(octave_shlib const &)': /cygdrive/c/octave-2.1.34/examples/hello.cc:67: undefined reference to `check_ve rsion(basic_string, __default_alloc_template > const &, basic_string, __default_alloc_te mplate > const &)' /cygdrive/c/octave-2.1.34/examples/hello.cc:68: undefined reference to `install_ dld_function(octave_value_list (*)(octave_value_list const &, int), basic_string , __default_alloc_template > const &, o ctave_shlib const &, basic_string, __default_allo c_template > const &, bool)' /cygdrive/c/octave-2.1.34/examples/hello.cc:68: undefined reference to `error_st ate' hello.o: In function `Fhello(octave_value_list const &, int)': /usr/local/include/octave-2.1.34/octave/oct-obj.h:44: undefined reference to `Ar ray::~Array(void)' hello.o: In function `Fhello(octave_value_list const &, int)': /cygdrive/c/octave-2.1.34/examples/hello.cc:79: undefined reference to `octave_p ager_stream::stream(void)' /cygdrive/c/octave-2.1.34/examples/hello.cc:92: undefined reference to `octave_v alue::~octave_value(void)' /cygdrive/c/octave-2.1.34/examples/hello.cc:93: undefined reference to `octave_p ager_stream::stream(void)' /cygdrive/c/octave-2.1.34/examples/hello.cc:94: undefined reference to `octave_v alue::~octave_value(void)' ... two or three screens of similar undefined references follow. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Thu Sep 13 11:59:35 2001 Resent-Date: Thu, 13 Sep 2001 11:59:34 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Sender: Jrigler@colorado.edu Message-ID: <3BA0E5F1.5BE6A21F@colorado.edu> Date: Thu, 13 Sep 2001 10:59:29 -0600 From: "E. Joshua Rigler" X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: Help-Octave Subject: Row majority vs. Column majority Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu I realize that if do_fortran_indexing is turned on, 2 dimensional array elements can be accessed sequentially in a Column Major indexing scheme. I have two related questions regarding this, and one slightly off-topic question for this list (but I hope folks will humor me): 1.0) Is this optimal? In otherwords, are the array elements truly sequential in memory, or is this simply to emulate Matlab? I ask because it seems to me that C/C++ is row major. 1.5) How exactly are matrices stored (internally) in Octave? Are they a part of some object that has its dimensinality specified? Just curious. 2.0) Would anyone care to explain to me, or point me at literature, that explains how row/column majority is interpreted in N-dimensional arrays? I am writing some functions that may, at times, access N-dimensional arrays in binary data files. I am currently only reading them into a linear vector, and passing this to Octave, and hoping that standardized N-D functionality will be available in the near future. I thought I actually posted a similar question once before, but I never received and answer, and I couldn't find it in the archives, so forgive me if I repeat myself. Thanks, -EJR ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Thu Sep 13 14:02:57 2001 Resent-Date: Thu, 13 Sep 2001 14:02:57 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Sender: pkienzle@d120203.ncnr.nist.gov Message-ID: <3BA102B8.2C241C5D@users.sf.net> Date: Thu, 13 Sep 2001 15:02:16 -0400 From: Paul Kienzle X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: "E. Joshua Rigler" CC: Help-Octave Subject: Re: Row majority vs. Column majority References: <3BA0E5F1.5BE6A21F@colorado.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu "E. Joshua Rigler" wrote: > I realize that if do_fortran_indexing is turned on, 2 dimensional array > elements can be accessed sequentially in a Column Major indexing > scheme. I have two related questions regarding this, and one slightly > off-topic question for this list (but I hope folks will humor me): > > 1.0) Is this optimal? In otherwords, are the array elements truly > sequential in memory, or is this simply to emulate Matlab? I ask > because it seems to me that C/C++ is row major. The underlying computational libraries are written in FORTRAN, so unless they are explicitly programmed otherwise, they will require column major order. IIRC, lapack and blas have row-major and column-major variants for their functions. Multidimensional C arrays are not used in Octave, so what C/C++ do is irrelevant. > 1.5) How exactly are matrices stored (internally) in Octave? Are they a > part of some object that has its dimensinality specified? Just curious. See liboctave. In particular Array.h defines the block of memory with a single index, Array2.h provides two indices, MArray2.h adds transpose, dMatrix.h defines arithmetic operations on real matrices, and LSODE.h, EIG.h, etc., provide various other operations on matrices. > 2.0) Would anyone care to explain to me, or point me at literature, that > explains how row/column majority is interpreted in N-dimensional > arrays? I am writing some functions that may, at times, access > N-dimensional arrays in binary data files. I am currently only reading > them into a linear vector, and passing this to Octave, and hoping that > standardized N-D functionality will be available in the near future. Look at liboctave/ArrayN*.h > I thought I actually posted a similar question once before, but I never > received and answer, and I couldn't find it in the archives, so forgive > me if I repeat myself. Use the source :-) Paul Kienzle pkienzle@users.sf.net ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Fri Sep 14 09:52:45 2001 Resent-Date: Fri, 14 Sep 2001 09:52:44 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f X-Sent: 14 Sep 2001 14:52:32 GMT Sender: qhe@bevo.che.wisc.edu Message-ID: <3BA21988.53393CB5@ydyn.com> Date: Fri, 14 Sep 2001 09:51:52 -0500 From: "Q. Peter He" Organization: YDI X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: help-octave@bevo.che.wisc.edu Subject: embedding function Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hi all, I'm trying to write a code which deals with embedding functions: Here is my code test.m #!/usr/bin/octave -qH type=str2num(nth(argv,1)); if type == 1 test1(argv); else test2(argv); endif function test1(...) argv endfunction function test2(...) argv endfunction When I tried to run this code, I got the following message: error: 'test1' undefined near line 4 column 3 error: evaluating index expression near line 4, column 3 error: evaluating if command near line 3, column 1 I heard that Octave actually support such type of embedding functions. Should I define a main function some where? Thank you! Peter ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Fri Sep 14 10:14:12 2001 Resent-Date: Fri, 14 Sep 2001 10:14:11 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f X-Authentication-Warning: foobar.bogus.domain: jwe set sender to jwe@bevo.che.wisc.edu using -f From: "John W. Eaton" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15266.7860.672801.306913@foobar.bogus.domain> Date: Fri, 14 Sep 2001 10:13:56 -0500 To: "Q. Peter He" Cc: help-octave@bevo.che.wisc.edu Subject: embedding function In-Reply-To: <3BA21988.53393CB5@ydyn.com> References: <3BA21988.53393CB5@ydyn.com> X-Mailer: VM 6.95 under Emacs 20.7.2 Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu On 14-Sep-2001, Q. Peter He wrote: | Hi all, | | I'm trying to write a code which deals with embedding functions: | | Here is my code test.m | | #!/usr/bin/octave -qH | | type=str2num(nth(argv,1)); | | if type == 1 | test1(argv); | else | test2(argv); | endif | | function test1(...) | argv | endfunction | | function test2(...) | argv | endfunction | | When I tried to run this code, I got the following message: | | error: 'test1' undefined near line 4 column 3 | error: evaluating index expression near line 4, column 3 | error: evaluating if command near line 3, column 1 | | I heard that Octave actually support such type of embedding functions. | Should I define a main function some where? Define before invoking and make sure the first non-comment token in the file is not the keyword "function". The following should work. #!/usr/bin/octave -qH 1; # not a function file. function test1(...) argv endfunction function test2(...) argv endfunction type=str2num(nth(argv,1)); if type == 1 test1(argv); else test2(argv); endif jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Sat Sep 15 03:53:45 2001 Resent-Date: Sat, 15 Sep 2001 03:53:45 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f To: help-octave@bevo.che.wisc.edu Subject: octave Message-ID: <1000544020.3ba31714f25b6@www1.helsinki.fi> Date: Sat, 15 Sep 2001 11:53:40 +0300 (EEST) From: mxoksane@mappi.helsinki.fi Sender: mxoksane@mappi.helsinki.fi MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.2-cvs X-Originating-IP: 62.176.45.2 Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Is It possible to install Octave on Windows Me platform? If it is, I`d like to know how can do it! Markku Oksanen ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Mon Sep 17 07:40:33 2001 Resent-Date: Mon, 17 Sep 2001 07:40:33 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f From: Etienne Grossmann To: octave-sources@bevo.che.wisc.edu, help-octave@bevo.che.wisc.edu, debian-mentors@lists.debian.org, rafael@icp.inpg.fr Subject: Change of homepage address CC: etienne@isr.ist.utl.pt Reply-to: etienne@isr.ist.utl.pt User-Agent: WEMI/1.13.7 (Shimada) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386-debian-linux-gnu) (with unibyte mode) MIME-Version: 1.0 (generated by WEMI 1.13.7 - "Shimada") Content-Type: text/plain; charset=US-ASCII Message-Id: Sender: Etienne Grossmann Date: Mon, 17 Sep 2001 13:48:01 +0100 Resent-Message-ID: <3VIIuEFV6WB.A.j1E.B9ep7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hello, this is just to say that my homepage is moving from http://anonimo.isr.ist.utl.pt/~etienne/ to http://www.isr.ist.utl.pt/~etienne/ the octave, bloksi etc directories have been moved there. Sorry for the inconvenience. Etienne ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Mon Sep 17 11:28:15 2001 Resent-Date: Mon, 17 Sep 2001 11:28:14 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Date: Mon, 17 Sep 2001 18:29:57 +0200 From: Andrés To: help-octave@bevo.che.wisc.edu Subject: RQ factorization Message-Id: <20010917182957.642cbf06.arabstrap@jazzfree.com> X-Mailer: Sylpheed version 0.6.0 (GTK+ 1.2.8; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Can anyone tell me how to calculate the RQ factorization of a matrix?. Thanks in advance -- "Creí ver molinos en el horizonte y allí me di de bruces con gigantes" Andrés ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Mon Sep 17 12:00:44 2001 Resent-Date: Mon, 17 Sep 2001 12:00:44 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Sender: pkienzle@d120203.ncnr.nist.gov Message-ID: <3BA62BD0.6A3BFBA9@users.sf.net> Date: Mon, 17 Sep 2001 12:58:56 -0400 From: Paul Kienzle X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: =?iso-8859-1?Q?Andr=E9s?= CC: help-octave@bevo.che.wisc.edu Subject: Re: RQ factorization References: <20010917182957.642cbf06.arabstrap@jazzfree.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Maybe you mean QR factorization? octave> help qr Paul Kienzle pkienzle@users.sf.net "Andrés" wrote: > Can anyone tell me how to calculate the RQ factorization of a matrix?. > > Thanks in advance > > -- > "Creí ver molinos en el horizonte > y allí me di de bruces con gigantes" > > Andrés > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ----------------------------------------------------------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Mon Sep 17 16:14:00 2001 Resent-Date: Mon, 17 Sep 2001 16:14:00 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Sender: andrew@MIT.EDU Message-ID: <3BA66653.C899A2F@mit.edu> Date: Mon, 17 Sep 2001 17:08:35 -0400 From: Andrew Wilson X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3-20mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: help-octave@bevo.che.wisc.edu Subject: compilation probs Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hello, I'm having trouble compiling octave. It gives me the following errors, anyone know how to fix this? Andrew c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall cmd-hist.cc cmd-hist.cc: In method `command_history::command_history (const string &, int)': ../readline/history.h:161: too many arguments to function `int read_history ()' cmd-hist.cc:69: at this point in file cmd-hist.cc: In method `void command_history::add (const string &)': ../readline/history.h:71: too many arguments to function `void add_history ()' cmd-hist.cc:132: at this point in file cmd-hist.cc: In method `void command_history::remove (int)': ../readline/history.h:76: too many arguments to function `HIST_ENTRY *remove_history ()' cmd-hist.cc:143: at this point in file cmd-hist.cc: In method `void command_history::stifle (int)': ../readline/history.h:87: too many arguments to function `void stifle_history ()' cmd-hist.cc:175: at this point in file cmd-hist.cc: In method `void command_history::read (const string &, bool)': ../readline/history.h:161: too many arguments to function `int read_history ()' cmd-hist.cc:203: at this point in file cmd-hist.cc: In method `void command_history::read_range (const string &, int, int, bool)': ../readline/history.h:168: too many arguments to function `int read_history_range ()' cmd-hist.cc:237: at this point in file cmd-hist.cc: In method `void command_history::write (const string &)': ../readline/history.h:173: too many arguments to function `int write_history ()' cmd-hist.cc:266: at this point in file cmd-hist.cc: In method `void command_history::append (const string &)': ../readline/history.h:177: too many arguments to function `int append_history ()' cmd-hist.cc:306: at this point in file cmd-hist.cc: In method `void command_history::truncate_file (const string &, int)': ../readline/history.h:180: too many arguments to function `int history_truncate_file ()' cmd-hist.cc:335: at this point in file cmd-hist.cc: In method `string command_history::get_entry (int)': ../readline/history.h:114: too many arguments to function `HIST_ENTRY *history_get ()' cmd-hist.cc:390: at this point in file cmd-hist.cc: In method `void command_history::replace_entry (int, const string &)': ../readline/history.h:81: too many arguments to function `HIST_ENTRY *replace_history_entry ()' cmd-hist.cc:404: at this point in file cmd-hist.cc: In method `void command_history::clean_up_and_save (const string &, int)': ../readline/history.h:173: too many arguments to function `int write_history ()' cmd-hist.cc:434: at this point in file make[2]: *** [cmd-hist.o] Error 1 make[2]: Leaving directory `/usr/share/octave-2.0.16/liboctave' make[1]: *** [liboctave] Error 2 make[1]: Leaving directory `/usr/share/octave-2.0.16' make: *** [all] Error 2 ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Mon Sep 17 16:54:25 2001 Resent-Date: Mon, 17 Sep 2001 16:54:25 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: <48055857148DD311996A000629509037033FB090@POSTOFFICE01> From: "Rockwood, Alan" To: "'help-octave@bevo.che.wisc.edu'" Subject: problem with "hold" command Date: Mon, 17 Sep 2001 16:01:34 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu I am having a problem with the "hold" command in octave 2.1.31. I have an m-file that includes the following lines near the end of the program: plot(TS,'.') title(['Savitzky-Golay ' num2str(pit) ' points , degree = ' num2str(m)]) hold on plot(TSP) hold off The problem is that "hold" doesn't work properly. The program is supposed to overly a second plot over a first plot. However ends up erasing the first plot and showing only the second plot. Interestingly, if I remove the "on" and "off" parameters then the program works as expected, i.e. the "hold" command toggles between the"on" and "off" states, and it overlays the plots. Of course, this is not a good solution because the results depend on the previous state of "hold". What can I do to make "hold on" and "hold off" work? ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 18 11:10:22 2001 Resent-Date: Tue, 18 Sep 2001 11:10:21 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f From: "Rone Shu" To: Subject: install problem! Date: Tue, 18 Sep 2001 11:10:59 -0500 Message-ID: <004201c1405c$81b4c040$1364a8c0@JUPITER> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0043_01C14032.98DEB840" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Resent-Message-ID: <6Pq58qEhPRI.A.NeF.tH3p7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu This is a multi-part message in MIME format. ------=_NextPart_000_0043_01C14032.98DEB840 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0044_01C14032.98DEB840" ------=_NextPart_001_0044_01C14032.98DEB840 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Dear Sir/Mam, I want to install the octave 2.0.16 version in a sunblade100 system. I encounter a error by using GNU make and CC compiler. Error message is attached! Is there some problem? Or must I use the g++2.7 or later? Best regards! Dr. Rone Shu, Software Engineer Rock Solid Images 2600 S. Gessner, Suite 650 Houston, Texas 77063 Ph. 713-783-5593, Fx. 713-783-5594 ------=_NextPart_001_0044_01C14032.98DEB840 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Dear Sir/Mam,

      I want = to install the octave 2.0.16 version in a sunblade100 = system.

      I = encounter a error by using GNU make and CC compiler. Error = message is attached!

      Is = there some problem? Or must I use the g++2.7 or later?

      Best = regards!

 

Dr. = Rone Shu, Software Engineer

Rock Solid = Images

2600 = S. Gessner, = Suite = 650

Houston= , = Texas = 77063

Ph. = 713-783-5593, Fx. 713-783-5594

 

------=_NextPart_001_0044_01C14032.98DEB840-- ------=_NextPart_000_0043_01C14032.98DEB840 Content-Type: text/plain; name="installerror.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="installerror.txt" CC -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob = -I../glob -DHAVE_CONFIG_H -g Bounds.cc "Array.h", line 31: Error: Could not open include file . "Array.h", line 32: Error: Could not open include file . "oct-cmplx.h", line 26: Error: Could not open include file . "oct-cmplx.h", line 28: Error: "," expected instead of "Complex". "mx-defs.h", line 81: Error: ")" expected instead of "&". "mx-defs.h", line 82: Error: "," expected instead of "(". "dColVector.h", line 53: Error: Type name expected instead of "bool". "dColVector.h", line 53: Error: No storage class or type for this = declaration. "dColVector.h", line 53: Error: "," expected instead of "operator". "dColVector.h", line 54: Error: Use ";" to terminate declarations. "dColVector.h", line 54: Error: Type name expected instead of "bool". "dColVector.h", line 54: Error: No storage class or type for this = declaration. "dColVector.h", line 54: Error: Multiple declaration for bool. "dColVector.h", line 54: Error: "," expected instead of "operator". "dColVector.h", line 58: Error: Use ";" to terminate declarations. ------=_NextPart_000_0043_01C14032.98DEB840-- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 18 19:35:37 2001 Resent-Date: Tue, 18 Sep 2001 19:35:37 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Content-Type: text/plain; charset="iso-8859-1" From: Phil Reardon Reply-To: pcreard@home.com To: help-octave@bevo.che.wisc.edu Subject: red hat binaries Date: Tue, 18 Sep 2001 18:36:19 -0400 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <01091818361900.02495@epsilon> Content-Transfer-Encoding: 8bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu The link for redhat binaries on the octave site points to the redhat home page. I could not find any search engine for there site, and could not find anything about octave anywhere by just looking. Does anyone know where redhat keeps their reputed binaries for octave? ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 18 20:02:57 2001 Resent-Date: Tue, 18 Sep 2001 20:02:56 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f X-Authentication-Warning: halden.devel.redhat.com: teg set sender to teg@redhat.com using -f Sender: teg@halden.devel.redhat.com To: pcreard@home.com Cc: help-octave@bevo.che.wisc.edu Subject: Re: red hat binaries References: <01091818361900.02495@epsilon> Organization: Red Hat, Inc. From: teg@redhat.com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=) Date: 18 Sep 2001 21:02:48 -0400 In-Reply-To: <01091818361900.02495@epsilon> Message-ID: Lines: 12 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Phil Reardon writes: > The link for redhat binaries on the octave site points to the redhat home > page. I could not find any search engine for there site, and could not find > anything about octave anywhere by just looking. Does anyone know where > redhat keeps their reputed binaries for octave? In the main distribution for the last few releases, in powertools before that. -- Trond Eivind Glomsrød Red Hat, Inc. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Wed Sep 19 16:27:46 2001 Resent-Date: Wed, 19 Sep 2001 16:27:46 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: <20010919193358.25014.qmail@web14004.mail.yahoo.com> Date: Wed, 19 Sep 2001 12:33:58 -0700 (PDT) From: Sengupta Sourav Subject: Stem problem To: help-octave@bevo.che.wisc.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu hii all, Anyone knows the equivalent command for stem(x,y) in octave?. stem(x,y) plots y as discrete values at the time instants mentioned in x. Thanks in advance Sourav ===== Sourav Sengupta __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Thu Sep 20 07:30:56 2001 Resent-Date: Thu, 20 Sep 2001 07:30:56 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Sender: pkienzle@d120203.ncnr.nist.gov Message-ID: <3BA9E106.E199982C@users.sf.net> Date: Thu, 20 Sep 2001 08:28:54 -0400 From: Paul Kienzle X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: Sengupta Sourav CC: help-octave@bevo.che.wisc.edu Subject: Re: Stem problem References: <20010919193358.25014.qmail@web14004.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Click on stem.m in http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/octave/octave/scripts/nonnumeric/plot/ Paul Kienzle pkienzle@users.sf.net Sengupta Sourav wrote: > hii all, > > Anyone knows the equivalent command for stem(x,y) in > octave?. stem(x,y) plots y as discrete values at the > time instants mentioned in x. > > Thanks in advance > > Sourav > > ===== > Sourav Sengupta > > __________________________________________________ > Terrorist Attacks on U.S. - How can you help? > Donate cash, emergency relief information > http://dailynews.yahoo.com/fc/US/Emergency_Information/ > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Thu Sep 20 09:56:00 2001 Resent-Date: Thu, 20 Sep 2001 09:56:00 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f From: David Clark MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15274.897.894074.615206@everest.biophysics.lanl.gov> Date: Thu, 20 Sep 2001 08:56:01 -0600 To: help-octave@bevo.che.wisc.edu Subject: Neural Networks X-Mailer: VM 6.90 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Are there any tools available for octaves for Neural Networks? Thanks, Dave ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Fri Sep 21 14:47:45 2001 Resent-Date: Fri, 21 Sep 2001 14:47:44 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f From: "Rone Shu" To: Cc: "Naum Derzhi " Subject: problem exits in installing the Octave in sun-solaris2.6. Date: Fri, 21 Sep 2001 14:49:09 -0500 Message-ID: <002001c142d6$7c9af850$1364a8c0@JUPITER> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0021_01C142AC.93C4F050" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu This is a multi-part message in MIME format. ------=_NextPart_000_0021_01C142AC.93C4F050 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Dear Sir/Mam, I meet some problem while I compiling the Octave 2.0.16 in sun-solaries2.6. Follow is the error message! make[2]: Entering directory `/users/rshu/octave-2.0.16/liboctave' make[2]: *** Warning: File `dbleSVD.d' has modification time in the future (2001-09-21 14:43:49.940036 > 2001-09-21 14:36:55.774000962) c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall Bounds.cc In file included from mx-defs.h:72, from dColVector.h:32, from Bounds.h:32, from Bounds.cc:33: oct-cmplx.h:28: syntax error before `;' token In file included from dColVector.h:32, from Bounds.h:32, from Bounds.cc:33: mx-defs.h:81: parse error before `&' token mx-defs.h:82: `c_c_Mapper' was not declared in this scope mx-defs.h:82: parse error before `&' token mx-defs.h:82: ISO C++ forbids declaration of `Complex' with no type mx-defs.h:82: typedef declaration includes an initializer mx-defs.h:82: confused by earlier errors, bailing out make[2]: *** [Bounds.o] Error 1 make[2]: Leaving directory `/users/rshu/octave-2.0.16/liboctave' make[1]: *** [liboctave] Error 2 make[1]: Leaving directory `/users/rshu/octave-2.0.16' make: *** [all] Error 2 I have successfully installed the GNU make, GCC, GNU Plot before I tried to compile the Octave 2.0.16 Thank you for kindly help! Dr. Rone Shu, Software Engineer Rock Solid Images 2600 S. Gessner, Suite 650 Houston, Texas 77063 Ph. 713-783-5593, Fx. 713-783-5594 ------=_NextPart_000_0021_01C142AC.93C4F050 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Dear Sir/Mam,

       I = meet some problem while I compiling the Octave 2.0.16 in = sun-solaries2.6.

 

Follow is the error = message!

 

make[2]: Entering directory = `/users/rshu/octave-2.0.16/liboctave'

make[2]: *** Warning: File `dbleSVD.d' has modification time in = the future (2001-09-21 14:43:49.940036 > 2001-09-21 = 14:36:55.774000962)

c++ -c  = -I. -I.. -I../liboctave -I../src = -I../libcruft/misc  -I../glob -I../glob -DHAVE_CONFIG_H -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 = -Wall Bounds.cc

In file included from = mx-defs.h:72,

          &nbs= p;      from dColVector.h:32,

       &nbs= p;         from Bounds.h:32,

       &nbs= p;         from Bounds.cc:33:

oct-cmplx.h:28: syntax error before `;' = token

In file included from = dColVector.h:32,

       &nbs= p;         from Bounds.h:32,

       &nbs= p;         from Bounds.cc:33:

mx-defs.h:= 81: parse error before `&' = token

mx-defs.h:= 82: `c_c_Mapper' was not declared in this = scope

mx-defs.h:= 82: parse error before `&' = token

mx-defs.h:= 82: ISO C++ forbids declaration of `Complex' with no = type

mx-defs.h:= 82: typedef declaration includes an = initializer

mx-defs.h:= 82: confused by earlier errors, bailing = out

make[2]: *** [Bounds.o] Error 1

make[2]: Leaving directory = `/users/rshu/octave-2.0.16/liboctave'

make[1]: *** [liboctave] Error 2

make[1]: Leaving directory = `/users/rshu/octave-2.0.16'

make: *** [all] Error 2

 

I have successfully installed the GNU make, GCC, GNU = Plot before I tried to compile the Octave 2.0.16

 

Thank you for kindly = help!

 

Dr. = Rone Shu, Software Engineer

Rock Solid = Images

2600 = S. Gessner, = Suite = 650

Houston= , = Texas = 77063

Ph. = 713-783-5593, Fx. 713-783-5594

 

------=_NextPart_000_0021_01C142AC.93C4F050-- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Mon Sep 24 02:44:52 2001 Resent-Date: Mon, 24 Sep 2001 02:44:52 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Date: Mon, 24 Sep 2001 09:42:08 +0100 (WET DST) From: Pierre-Andre Cornillon X-X-Sender: pac@sa2391 To: help-octave@bevo.che.wisc.edu Subject: Test problem in installing octave, Solaris 7 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hi, Here we 're trying to install Octave version 2.1.34 on our unix system Solaris 7, gcc 2.95-2, gmake 3.79.1 Beside some problems with "compiling" documentation it seems to work with a warning (c++: unrecognized option `-rdynamic') which indicate that the -rdynamic is not the real problem (no need to suppress it). We do not follow the advices of Dr Andrew Bainbridge-Smith (editing the config.h) or other (too complex for us) advices. We tried the octave tests and we get two failures. Are they important failures, and can we rely on octave results and in which extent ? ...(some text) Running ./octave.test/poly/poly.exp ... FAIL: octave.test/poly/residue-1.m ...(some text) FAIL: octave.test/system/tilde_expand-1.m ...(some text) Running ./octave.test/zero-one/tt/zero-one.exp ... === octave Summary === # of expected passes 1250 # of unexpected failures 2 ../src/octave version 2.1.34 (sparc-sun-solaris2.7) make[2]: *** [check] Error 1 make[2]: Leaving directory `/tmp/octave-2.1.34/test' make[1]: *** [check] Error 2 make[1]: Leaving directory `/tmp/octave-2.1.34' make: *** [check] Error 2 Thanks, P.Andre & Eric Universit de Rennes ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Mon Sep 24 14:25:06 2001 Resent-Date: Mon, 24 Sep 2001 14:25:06 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f X-eGroups-Return: alanrockwood@hotmail.com Date: Mon, 24 Sep 2001 19:24:54 -0000 From: alanrockwood@hotmail.com To: help-octave@bevo.che.wisc.edu Subject: emacs octave support for XEmacs under windows 2000 Message-ID: <9oo1a6+ngia@eGroups.com> User-Agent: eGroups-EW/0.82 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: eGroups Message Poster X-Originating-IP: 12.10.133.254 Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hi all, I have obtained the octave support files for emacs (octave-mod.el, octave-inf.el, and octave-hlp.el). They were hard to find, but I managed to find a couple of versions. The latest version of octave- mod.el I have was the one modified Feb 29, 2000. I copied them into the following directories: c:\my programs\xemacs\xemacs-packages\lisp\octave c:\my programs\xemacs\xemacs-packages\lisp\prog-modes I copied the following lines from the octave manual into the my init.el file: (autoload 'octave-mode "octave-mod" nil t) (setq auto-mode-alist (cons '("\\.m$" . octave-mode) auto-mode-alist)) (add-hook 'octave-mode-hook (lambda () (abbrev-mode 1) (auto-fill-mode 1) (if (eq window-system 'x) (font-lock-mode 1)))) I also tried it with these lines in my .XEmacs file. The system is finding both .XEmacs and init.el just fine. I am running XEmacs in native mode under windows 2000. Here's my problem. When I open an "m" file I get the following message: File mode specification error: (file-error "Cannot open load file" "octave-mod") Can anyone offer a suggestion on how to fix this? ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Tue Sep 25 13:05:11 2001 Resent-Date: Tue, 25 Sep 2001 13:05:11 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f X-eGroups-Return: alanrockwood@hotmail.com Date: Tue, 25 Sep 2001 18:05:02 -0000 From: alanrockwood@hotmail.com To: help-octave@bevo.che.wisc.edu Subject: XEmacs octave-mode... got it working Message-ID: <9oqh0e+73uo@eGroups.com> User-Agent: eGroups-EW/0.82 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: eGroups Message Poster X-Originating-IP: 12.10.133.254 Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu I got octave-mode working. I simply replaced the lines (if (eq window-system 'x) (font-lock-mode 1)))) in my custom.el file with the line (font-lock-mode 1))) and the octave-mode worked fine. I also upgraded from version 21.4.0 to 21.4.3, although the upgrade prabably had nothing to do with it. - Alan - ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Wed Sep 26 19:51:10 2001 Resent-Date: Wed, 26 Sep 2001 19:51:09 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: <3BB27619.1060200@home.com> Date: Wed, 26 Sep 2001 18:43:05 -0600 From: Dennis Bayrock User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20010913 X-Accept-Language: en-us MIME-Version: 1.0 To: help-octave@bevo.che.wisc.edu Subject: System of ODE's Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hello, I am a research scientist involved in modeling yeast fermentations for the production of alcohol. I have a system of ODE's to model and am wondering if Octave is capable of handling such a system. For eg. dX/dt= 1+ dS/dt dS/dt = -2.5 * dX/dt dP/dt = 5 * dS/dt - 3 * dX/dt etc. I have already read the manual and it does mention how to set up ODE's, but it does not mention if Octave can handle a system of ODE's that are linked to one another or how one would set one up. Thank you for your response in advance! Dennis Bayrock , P.hD ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Thu Sep 27 09:40:13 2001 Resent-Date: Thu, 27 Sep 2001 09:40:12 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: <00c101c14761$d681dfc0$1c01020a@BOB> Reply-To: "Dan Boghiu" From: "Dan Boghiu" To: Subject: error checking of m function Date: Thu, 27 Sep 2001 17:36:47 +0300 Organization: PSS Prosoft Solutions SRL MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hi How can I check if an m file has no syntax errors without running the file? Dan ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Thu Sep 27 10:10:49 2001 Resent-Date: Thu, 27 Sep 2001 10:10:49 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Content-Type: text/plain; charset="iso-8859-1" From: Phil Reardon Reply-To: pcreard@home.com To: Dennis Bayrock , help-octave@bevo.che.wisc.edu Subject: Re: System of ODE's Date: Thu, 27 Sep 2001 09:11:30 -0400 X-Mailer: KMail [version 1.2] References: <3BB27619.1060200@home.com> In-Reply-To: <3BB27619.1060200@home.com> MIME-Version: 1.0 Message-Id: <01092709113001.01464@epsilon> Content-Transfer-Encoding: 8bit Resent-Message-ID: <2zTtFRZGPZK.A.F3C.5F0s7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu On Wednesday 26 September 2001 20:43, Dennis Bayrock wrote: > Hello, > > I am a research scientist involved in modeling yeast fermentations > for the production of alcohol. I have a system of ODE's to model and am > wondering if Octave is capable of handling such a system. For eg. > > dX/dt= 1+ dS/dt > dS/dt = -2.5 * dX/dt > dP/dt = 5 * dS/dt - 3 * dX/dt > > etc. > > I have already read the manual and it does mention how to set up > ODE's, but it does not mention if Octave can handle a system of ODE's > that are linked to one another or how one would set one up. > Thank you for your response in advance! > > Dennis Bayrock , P.hD > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ----------------------------------------------------------- Yes, systems of 1st order ODE's are done nicely by calling lsode. Look again at the documentation for examples ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Thu Sep 27 15:00:19 2001 Resent-Date: Thu, 27 Sep 2001 15:00:19 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Date: Thu, 27 Sep 2001 22:31:59 +0300 (EET DST) From: Orsila Heikki To: Dennis Bayrock Subject: Re: System of ODE's In-Reply-To: <3BB27619.1060200@home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu On Wed, 26 Sep 2001, Dennis Bayrock wrote: > I am a research scientist involved in modeling yeast fermentations > for the production of alcohol. I have a system of ODE's to model and am > wondering if Octave is capable of handling such a system. For eg. > > dX/dt= 1+ dS/dt > dS/dt = -2.5 * dX/dt > dP/dt = 5 * dS/dt - 3 * dX/dt Well, that kind of trivial equation sets can be solved easily with little handwork.. Assume we have equation set: x1 = a10 + a11 * x1 + a12 * x2 + ... + a1n * xn x2 = a20 + a21 * x1 + a22 * x2 + ... + a2n * xn ... xn = an0 + an1 * x1 + an2 * x2 + ... + ann * xn Denote x = [x1,x2,...,xn]' and b=[a10,a20,...,an0]' And aij is item from matrix A row i column j.. We get equation: x = A*x + b => (I-A)*x = b => x = inv(I-A) * b = (say) = c Now we have that: x1 = c(1)*t + C1 x2 = c(1)*t + C2 ... xn = c(n)*t + Cn Parameters C1-Cn must be solved from initial-value information. Let that be vector C, then C = x(0). To apply this to your example problem: Let dX/dt = x1, dS/dt = x2 and dP/dt = x3 ... b=[1;0;0] A=[0,1,0;-2.5,0,0;-3,5,0] A = 0.00000 1.00000 0.00000 -2.50000 0.00000 0.00000 -3.00000 5.00000 0.00000 I=eye(3) c = inv(I-A)*b c = 0.28571 -0.71429 -4.42857 => X = x1 = 0.28571 * t + X(0) S = x2 = -0.71429 * t + S(0) P = x3 = -4.42857 * t + P(0) I don't have any experience with ODEs so if this is wrong, please tell me.. Heikki Orsila 32 bittiä - entä sitten? heikki.orsila@tut.fi http://www.pjoy.fi/lehdet/9212pj.htm http://www.ee.tut.fi/~orsila - Petteri Järvinen (1992) ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Thu Sep 27 16:28:01 2001 Resent-Date: Thu, 27 Sep 2001 16:28:00 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Sender: Jrigler@colorado.edu Message-ID: <3BB399DC.B62E8A51@colorado.edu> Date: Thu, 27 Sep 2001 15:27:56 -0600 From: "E. Joshua Rigler" X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: Help-Octave Subject: fft: Octave vs. Matlab vs. IDL Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu I've taken the FFT of a sine function defined by: >> t = [0:(2*pi)/288:50*2*pi - (2*pi)/288]'; >> sint = sin (t); >> f = real(fft(sint)); in MATLAB, Octave, and IDL. All three give me different answers, although they do give a peak in power at 50, as expected. Matlab -> peak at 50 of ~ 2e-11 Octave -> peak at 50 of ~ -8e-11 (yes that "-" is real) IDL -> peak at 50 of ~ 2e-06 (PI here was single precision) I am trying to use the FFT to calculate an auto-correlation. I know this sounds strange, but the very slight differences I get between calculating auto-correlations this way, and by using something like xcov.m, significantly affects the stability, and predictive accuracy of the linear prediction filters I am trying to generate...at least when testing it on a simple sine function. As much as I hate to say it, I suspect that the FFT from IDL is giving the most reasonable answer, because it spits out a relatively smooth function, with only a single peak at 50, whereas both Octave and Matlab spit out very noisy data, with local peaks almost as large as the main one at 50! Can somebody who knows more about FFTs than me suggest a reason why these would all return different values (and more importantly, how might I get them to return more similar answers)? I might guess this has something to do with padding my vectors with zeros in a certain way, but that is only because I've heard people say this...I don't really understand what that means, or how it affects the FFT algorithm. -EJR ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Thu Sep 27 18:23:17 2001 Resent-Date: Thu, 27 Sep 2001 18:23:17 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: <3BB3B4DE.728BA842@mediaone.net> Date: Thu, 27 Sep 2001 18:23:10 -0500 From: Istvan Albert Organization: Home X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "E. Joshua Rigler" CC: Help-Octave Subject: Re: fft: Octave vs. Matlab vs. IDL References: <3BB399DC.B62E8A51@colorado.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: <12_hBkuhpaO.A.X2F.lT7s7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hi, "E. Joshua Rigler" wrote: > in MATLAB, Octave, and IDL. All three give me different answers, > although they do give a peak in power at 50, as expected. > > Matlab -> peak at 50 of ~ 2e-11 > Octave -> peak at 50 of ~ -8e-11 (yes that "-" is real) > IDL -> peak at 50 of ~ 2e-06 (PI here was single precision) > Can somebody who knows more about FFTs than me suggest a reason why > these would all return different values (and more importantly, how might > I get them to return more similar answers)? I might guess this has > something to do with padding my vectors with zeros in a certain way, but > that is only because I've heard people say this...I don't really > understand what that means, or how it affects the FFT algorithm. Padding does not affect the results, it is only needed to bring the number of values to be a power of two. The reason you are getting different values for your FFT transformations is that there is no consensus as to what is the "power" in a power spectrum. Some algorithm may compute it as a sum of the squared Fourier coefficients for a certain frequency. Another one might normalize this sum to the sum of all coefficients, and there are other ways to express the "power". But for all projects you will only need the relative values. Values that scale properly relative to each other. A peak that is twice as big than another should look so in any representation (and of course should appear at the same frequencies, but that works). So don't worry about absolute values, unless you want to compare them to some other results, in wich case you should find out the method they used cheers, Istvan. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Fri Sep 28 01:47:18 2001 Resent-Date: Fri, 28 Sep 2001 01:47:18 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: <002901c147e9$21af1940$1c01020a@BOB> Reply-To: "Dan Boghiu" From: "Dan Boghiu" To: "Help-Octave" References: Subject: Re: System of ODE's Date: Fri, 28 Sep 2001 09:45:15 +0300 Organization: PSS Prosoft Solutions SRL MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Resent-Message-ID: <25eeMRpPTvE.A.zqH.2zBt7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu The solution for ODE's is the function lsode. For details: help lsode Dan ----- Original Message ----- From: "Orsila Heikki" To: "Dennis Bayrock" Sent: Thursday, September 27, 2001 22:31 Subject: Re: System of ODE's > On Wed, 26 Sep 2001, Dennis Bayrock wrote: > > I am a research scientist involved in modeling yeast fermentations > > for the production of alcohol. I have a system of ODE's to model and am > > wondering if Octave is capable of handling such a system. For eg. > > > > dX/dt= 1+ dS/dt > > dS/dt = -2.5 * dX/dt > > dP/dt = 5 * dS/dt - 3 * dX/dt > > Well, that kind of trivial equation sets can be solved easily with little > handwork.. > > Assume we have equation set: > > x1 = a10 + a11 * x1 + a12 * x2 + ... + a1n * xn > x2 = a20 + a21 * x1 + a22 * x2 + ... + a2n * xn > ... > xn = an0 + an1 * x1 + an2 * x2 + ... + ann * xn > > Denote x = [x1,x2,...,xn]' and b=[a10,a20,...,an0]' > > And aij is item from matrix A row i column j.. We get equation: > > x = A*x + b > => > (I-A)*x = b > => > x = inv(I-A) * b = (say) = c > > Now we have that: > > x1 = c(1)*t + C1 > x2 = c(1)*t + C2 > ... > xn = c(n)*t + Cn > > Parameters C1-Cn must be solved from initial-value information. Let that > be vector C, then C = x(0). > > To apply this to your example problem: Let dX/dt = x1, dS/dt = x2 > and dP/dt = x3 ... > > b=[1;0;0] > A=[0,1,0;-2.5,0,0;-3,5,0] > > A = > > 0.00000 1.00000 0.00000 > -2.50000 0.00000 0.00000 > -3.00000 5.00000 0.00000 > > I=eye(3) > > c = inv(I-A)*b > > c = > > 0.28571 > -0.71429 > -4.42857 > > => > > X = x1 = 0.28571 * t + X(0) > S = x2 = -0.71429 * t + S(0) > P = x3 = -4.42857 * t + P(0) > > I don't have any experience with ODEs so if this is wrong, please tell > me.. > > > Heikki Orsila 32 bittiä - entä sitten? > heikki.orsila@tut.fi http://www.pjoy.fi/lehdet/9212pj.htm > http://www.ee.tut.fi/~orsila - Petteri Järvinen (1992) > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Fri Sep 28 07:34:46 2001 Resent-Date: Fri, 28 Sep 2001 07:34:46 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Reply-To: From: "Steve Goncalo" To: "Help-Octave" Subject: RE: Octave vs. Matlab vs. IDL Date: Fri, 28 Sep 2001 08:39:45 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Zero fill is how most fft algorithms pad out an odd sized array to a power of two before performing the transform. That can do some strange stuff, but your problem is a lot simpler than that. Even for real valued inputs, the FFT can produce complex data at its output. With a sine wave input like you used the largest amplitude value is really imaginary. In theory, the real part of that fft output should have been zero, and all you were seeing was round-off error in the finite length arithmetic. Order of operations can significantly affect round off errors, so it would be surprising if Matlab and Octave did give exactly the same round off errors. If you did the same thing with a cosine, the peak is in the real part of the output. In general, you probably want to be looking at the absolute value of the complex data when trying to find a peak response. octave:28> % compute time series, sine and cosine values octave:28> t=[0:(2*pi)/288:50*2*pi-(2*pi)/288]'; octave:29> sint=sin(t); octave:30> cost=cos(t); octave:31> octave:31> fs=fft(sint); % complex fft out octave:32> fc=fft(cost); octave:33> octave:33> [val,index]=max(abs(real(fs))) %peak in the real part of fft(sint) val = 8.1311e-11 index = 51 octave:34> [val,index]=max(abs(imag(fs))) %peak in the imag part val = 7200.0 index = 51 octave:35> [val,index]=max(abs(fs)) %peak in the amplitude val = 7200.0 index = 51 octave:36> octave:36> [val,index]=max(abs(real(fc))) %peak in the real part of fft(cost) val = 7200.0 index = 51 octave:37> [val,index]=max(abs(imag(fc))) %peak in the imag part val = 8.1387e-11 index = 51 octave:38> [val,index]=max(abs(fc)) %peak in the amplitude val = 7200.0 index = 51 octave:39> octave:39> wavet=cos(t+pi/4); % give sinusoid a 45 degree phase shift octave:40> fw=fft(wavet); octave:41> [val,index]=max(abs(real(fw))) %peak in the real part of fft(wavet) val = 5091.2 index = 51 octave:42> [val,index]=max(abs(imag(fw))) %peak in the imag part val = 5091.2 index = 14351 %% If you graph this you will see two peaks of nearly the %% same amplitude 50 cells in from the start and end of %% the array of 14400 cells octave:43> [val,index]=max(abs(fw)) %peak in the amplitude val = 7200.0 index = 51 octave:44> -----Original Message----- From: Jrigler@colorado.edu [mailto:Jrigler@colorado.edu] Sent: Thursday, September 27, 2001 5:28 PM To: Help-Octave Subject: fft: Octave vs. Matlab vs. IDL I've taken the FFT of a sine function defined by: >> t = [0:(2*pi)/288:50*2*pi - (2*pi)/288]'; >> sint = sin (t); >> f = real(fft(sint)); in MATLAB, Octave, and IDL. All three give me different answers, although they do give a peak in power at 50, as expected. Matlab -> peak at 50 of ~ 2e-11 Octave -> peak at 50 of ~ -8e-11 (yes that "-" is real) IDL -> peak at 50 of ~ 2e-06 (PI here was single precision) I am trying to use the FFT to calculate an auto-correlation. I know this sounds strange, but the very slight differences I get between calculating auto-correlations this way, and by using something like xcov.m, significantly affects the stability, and predictive accuracy of the linear prediction filters I am trying to generate...at least when testing it on a simple sine function. As much as I hate to say it, I suspect that the FFT from IDL is giving the most reasonable answer, because it spits out a relatively smooth function, with only a single peak at 50, whereas both Octave and Matlab spit out very noisy data, with local peaks almost as large as the main one at 50! Can somebody who knows more about FFTs than me suggest a reason why these would all return different values (and more importantly, how might I get them to return more similar answers)? I might guess this has something to do with padding my vectors with zeros in a certain way, but that is only because I've heard people say this...I don't really understand what that means, or how it affects the FFT algorithm. -EJR ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Fri Sep 28 11:58:35 2001 Resent-Date: Fri, 28 Sep 2001 11:58:35 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: <3BB4AA5D.9020309@home.com> Date: Fri, 28 Sep 2001 10:50:37 -0600 From: Dennis Bayrock User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20010913 X-Accept-Language: en-us MIME-Version: 1.0 To: help-octave@bevo.che.wisc.edu Subject: System of ODE's - Part II Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Resent-Message-ID: <5icbDdIh0-J.A.00C.7wKt7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hello All! First off, I would like to thank everyone for their quick reply to my posting - it is nice to see such a fast turnaround to a help question! Although everyone's input helped me and I have re-read the manual, I am still having problems understanding Octave's syntax in integrating ODE's. I am not an engineer or a mathematician but rather a fermentation microbiologist. Despite this shortcoming ( :) ) I can construct ODE's and see the value in integrating them. OK now on to my ongoing question. I see that my posting last time did not quite emphasize what I was trying to get help on (my fault) so I will try again. I will not use my model in this example but rather a hypothetical example so that: 1. People don't feel I am trying to elicit an answer from them (i.e. you doing my work), 2. I hope that someone will give me an explicit answer on how to actually enter the equations into Octave, and 3. My models are confidential. The hypothetical equations are: dX/dt = X * S * dP/dt dS/dt = X * P * dX/dt dP/dt = X + dS/dt + dX/dt Ignore initial conditions for now. Notice first that X,S, and P on the right side of the equations are not constants. Also some of the differential equations are part of (nested within) other differential equations. Could someone please show me how they would actually enter these differential equations into Octave so that it can integrate them? I can then apply the correct syntax from this example to my actual model. On a side note. Is there a way to symbolically enter these equations into Octave? If not then I would strongly suggest this to be explored and put into the next version of Octave so that people like me can more easily use it. Thank's all in advance! Dennis Bayrock, P.hD. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Fri Sep 28 19:14:42 2001 Resent-Date: Fri, 28 Sep 2001 19:14:42 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Sender: Jrigler@colorado.edu Message-ID: <3BB5126E.8FC62A1D@colorado.edu> Date: Fri, 28 Sep 2001 18:14:38 -0600 From: "E. Joshua Rigler" X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: Help-Octave Subject: filter.oct -- how to use it?!? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu I recently made a fool of myself on this list by asking a dumb question about FFTs, so what harm can it do for me to ask another dumb question... How are you supposed to use the Octave filter function? If I do something like: [yn] = filter (0, [1,-.5,-.1], [0,0,0], [10,10]) ...the output is: yn = 10 15 8.5 ...when *I* expect it to be: yn = 6.0 4.0 2.6 Isn't the "initial state" the same as saying [y(n-na) ... y(n-1)]? I am assuming that filter operates like: y(n) = b(1)*x(n) + b(2)*x(n-1) + ... + b(nb+1)*x(n-nb) - a(2)*y(n-1) - ... - a(na+1)*y(n-na) (where b = x = 0) It seems like filter is prepending (na-1) zeros to the inital state, filtering all these zeros, then adding the value to the first element of the initial state. Then bumping up to y(n+1), filtering again, and adding to the second element of the initial state, and so on. Why? I just want to take the previous n values in a time series and filter them to predict the (n+1st) value. This is what the "Direct Form II Transposed Structure" should be doing for me isn't it? Am I just being really dense? Be kind ;^). -EJR ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Sun Sep 30 02:20:51 2001 Resent-Date: Sun, 30 Sep 2001 02:20:51 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f X-Originating-IP: [192.169.39.64] From: "Jerome Mapagu" To: help-octave@bevo.che.wisc.edu Subject: Bode Plot Date: Sun, 30 Sep 2001 15:20:44 +0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 30 Sep 2001 07:20:44.0455 (UTC) FILETIME=[6B195B70:01C14980] Resent-Message-ID: <3hn-C6OW5IG.A.h7E.Tfst7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu >From help-octave-request@bevo.che.wisc.edu Mon Aug 20 23:51:47 2001 Resent-Date: Mon, 20 Aug 2001 23:51:47 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: <20010821045142.52012.qmail@web20005.mail.yahoo.com> Date: Mon, 20 Aug 2001 21:51:42 -0700 (PDT) From: OOzy Pal Subject: Bode Plot To: Octave help MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hi guys Does octave do bode plots (Frequency Respose) ===== Regards, OOzy What is the purpose of life? __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Sun Sep 30 02:20:09 2001 Resent-Date: Sun, 30 Sep 2001 02:20:09 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f X-Originating-IP: [192.169.39.72] From: "Jerome Mapagu" To: help-octave@bevo.che.wisc.edu Subject: help Date: Sun, 30 Sep 2001 15:20:01 +0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 30 Sep 2001 07:20:01.0756 (UTC) FILETIME=[51A601C0:01C14980] Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu >From help-octave-request@bevo.che.wisc.edu Mon Aug 20 23:51:47 2001 Resent-Date: Mon, 20 Aug 2001 23:51:47 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Message-ID: <20010821045142.52012.qmail@web20005.mail.yahoo.com> Date: Mon, 20 Aug 2001 21:51:42 -0700 (PDT) From: OOzy Pal Subject: Bode Plot To: Octave help MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Hi guys Does octave do bode plots (Frequency Respose) ===== Regards, OOzy What is the purpose of life? __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Sun Sep 30 09:42:53 2001 Resent-Date: Sun, 30 Sep 2001 09:42:53 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f From: j.logsdon@lancaster.ac.uk X-Authentication-Warning: mercury.quantex: j.logsdon owned process doing -bs Date: Sun, 30 Sep 2001 15:41:05 +0100 (GMT) X-Sender: j.logsdon@mercury.quantex To: r-help@stat.math.ethz.ch, help-octave@bevo.che.wisc.edu, allstat@jiscmail.ac.uk Subject: GNU GOOSe apparently needs help (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <7T10_FZoNfB.A.W5G.t9yt7@bevo> Resent-From: help-octave@bevo.che.wisc.edu X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Apologies for cross-posting ... This project is looking for a maintainer. To quote from the Goose web site: "Goose is a LGPLed C++ library dedicated to statistical computation. The two design goals of this project are: To create a useful and complete system that takes advantage of C++'s features to improve the clarity of statistical code and that is easier to use for programmers. To produce a complete set of Guile bindings, exporting all of the C++ library's functionality to that environment. A third, ancillary goal is to provide statistical functionality for Guppi, the Gnome plotting and data-visualization program. The desire for non-trivial statistics in Guppi was actually the motivation for creating Goose." I think there may be some synergy here with R or Octave and people on the Allstat list might also be interested. John ---------- Forwarded message ---------- Date: 28 Sep 2001 22:36:31 +0100 From: James Youngman To: John Logsdon Subject: GNU GOOSe apparently needs help I see from http://www.gnu.org/prep/tasks_2.html#SEC2 (http://www.gnu.org/software/goose/goose.html) needs a new maintainer. I just wondered if you knew of anybody who might be interested. -- James Youngman Manchester, UK. +44 161 226 7339 PGP (GPG) key ID for is 64A95EE5 (F1B83152). ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html ------------------------------------------------------------- From help-octave-request@bevo.che.wisc.edu Sun Sep 30 12:37:56 2001 Resent-Date: Sun, 30 Sep 2001 12:37:55 -0500 X-Authentication-Warning: bevo.che.wisc.edu: list set sender to help-octave-request@bevo.che.wisc.edu using -f Date: Sun, 30 Sep 2001 19:36:36 +0200 From: Berni Joss To: help-octave@bevo.che.wisc.edu Cc: help...cannot.type.'s'.on.keyboard@bevo.che.wisc.edu Message-Id: <20010930193636.3105e615.berni.joss@urbanet.ch> X-Mailer: Sylpheed version 0.6.2 (GTK+ 1.2.9; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: Resent-From: help-octave@bevo.che.wisc.edu Subject: Unidentified subject! X-Mailing-List: X-Loop: help-octave@bevo.che.wisc.edu List-Post: List-Help: List-Subscribe: List-Unsubscribe: Precedence: list Resent-Sender: help-octave-request@bevo.che.wisc.edu Errors-To: help-octave-request@bevo.che.wisc.edu Help please, I must have done something stupid ... I cannot type any lowercase 's' any more\ in octave! Using GNU Octave, version 2.1.33 (i386-redhat-linux-gnu) on Redhat 7.1. Inside the bash shell I use to start octave the 's' key works normally, it does not appear to be a hardware problem. Inside octave, the 's' (lowercase) key beeps, but is not "typed". When attempting to type: cumsum I get: cumum Please help me, what could I possible have done to convince octave that 's' means beep! Berni. p.s. I tried uninstalling and re-installing ... same behavior! ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------