octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #31733] error: ppval: expects a pp structure


From: Rick T
Subject: [Octave-bug-tracker] [bug #31733] error: ppval: expects a pp structure
Date: Mon, 22 Nov 2010 20:21:02 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Ubuntu/10.04 Chromium/7.0.517.44 Chrome/7.0.517.44 Safari/534.7

URL:
  <http://savannah.gnu.org/bugs/?31733>

                 Summary: error: ppval: expects a pp structure
                 Project: GNU Octave
            Submitted by: ratulloch
            Submitted on: Mon 22 Nov 2010 08:21:01 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Rick Tulloch
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:

error: ppval: expects a pp structure

Greetings All
I run a simple script to test piecewise in matlab and octave
It works in matlab

clear,clc
tic
coefs=[3,-5,1;0,3,-2];
breaks=[0 5 10];
p1=mkpp(breaks,coefs);
xx=linspace(-3,12);
yy=ppval(xx,p1);
plot(xx,yy);

But when the same script is run in octave 3.2.3 I get this error
error: ppval: expects a pp structure
error: called from:
error:   /usr/share/octave/3.2.3/m/polynomial/ppval.m at line 34, column 5

Does anyone have a work around?

aloha




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31733>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]