From help-octave-request at bevo dot che dot wisc dot edu Fri Jan 10 09:55:07 2003 Subject: problem with ppval From: Mazyar Zeinali To: help-octave at bevo dot che dot wisc dot edu Date: Fri, 10 Jan 2003 10:55:15 -0500 Hello all, I am using octave version 2.1.42 under windows installed from binaries downloaded from Paul Söderlind (http://www.hhs.se/personal/Psoderlind/) page. I am trying to use the mmspder function to perform cubic spline differentiation. I'm having some problems. I've broken it down to a problem with ppval. So i am using an example in the Mastering Matlab 5 book (isbn 0-13-858366-8) page 214. Here is the run (also, how do I output the workspace erro messages to a fine in windows??): >> x=0:12; >> y=tan(pi*x/25); >> xi=linspace(0,12); >> pp=spline(x,y); >> yi=ppval(pp,xi); error: 'lookup' undefined near line 35 column 11 error: evaluating binary operator '+' near line 35, column 36 error: evaluating assignment expression near line 35, column 9 error: evaluating if command near line 29, column 3 error: called from 'ppval in file '/usr/share/octave/2.1.42/m/splines/ppval.m' error: evaluating assignment expression near line 28, column 3 _________________________________________ Mazyar Zeinali, Ph.D. Naval Research Laboratory, Code 6930 Center for Bio/Molecular Science and Engineering 4555 Overlook Avenue Washington, DC 20375 (202) 404-6125 voice (202) 767-9594 fax mzeinali at cbmse dot nrl dot navy dot mil ------------------------------------------------------------- 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 -------------------------------------------------------------