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

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

[Octave-bug-tracker] [bug #48034] fplot not working


From: Muhali
Subject: [Octave-bug-tracker] [bug #48034] fplot not working
Date: Thu, 26 May 2016 18:51:20 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

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

                 Summary: fplot not working
                 Project: GNU Octave
            Submitted by: muhali
            Submitted on: Thu 26 May 2016 11:51:18 AM PDT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

with


function y = fun(x)
      I = (x < 0) ;
      y(I) = 1 ;
      y(~I) = -1 ;
end


the call

fplot(@fun, [-1 1])

results in 

error: fplot: operator -: nonconformant arguments (op1 is 8x5, op2 is 8x8)
error: called from
    fplot at line 160 column 9
error: evaluating argument list element number 1
error: called from
    fplot at line 160 column 9
error: evaluating argument list element number 1
error: called from
    fplot at line 160 column 9


The same call works in ML.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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