bugGNU Octave - Bugs: bug #49886, ezplot: octave does not warn when...

 
 

bug #49886: ezplot: octave does not warn when function not vectorized

Submitted by:  None
Submitted on:  Mon 19 Dec 2016 01:12:49 PM UTC  
 
Category: Octave FunctionSeverity: 2 - Minor
Priority: 3 - LowItem Group: Matlab Compatibility
Status: ConfirmedAssigned to: None
Originator Name: Alain CochardOriginator Email: -unavailable-
Open/Closed: OpenRelease: dev
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 04 Jan 2017 06:03:51 PM UTC, comment #4:

This would be easy to fix if bug #42691 was first solved. I've added #42691 as a dependency.

Rik <rik5>
Project Administrator
Tue 20 Dec 2016 05:47:25 PM UTC, comment #3:

Sorry, I meant "can matrix multiplication make sense in such context".

Anonymous
Tue 20 Dec 2016 05:42:10 PM UTC, comment #2:

Can element-by-element multiplication make sense in such a context?

Can it make sense to have a plot which qualitatively depends on the
number of discretization points?

Anonymous
Tue 20 Dec 2016 04:59:26 PM UTC, comment #1:

Alas, computers just aren't very smart--at least not until we get true artificial intelligence. Octave is plotting the correct function, since it is up to the user to decide whether they want element-by-element multiplication or matrix multiplication.

I've changed the bug report title to be about the Matlab incompatibility and marking that as confirmed.

Rik <rik5>
Project Administrator
Mon 19 Dec 2016 01:12:49 PM UTC, original submission:

With the following (correct) syntax, the plot is OK, with both matlab
and octave:

With this incorrect syntax (the period is omitted)

the plot is OK with matlab, with the warning message:

but it is totally wrong with octave (although not strikingly wrong at
first sight, i.e., not pure garbage), without any warning.

Also, if one provides a 3rd argument (number of points to be used) to
ezplot, the plot is different for different values of that argument.

I have tried versions 3.4.3, 3.8.2, 4.0.3, all with Fedora or CentOS
GNU/Linux distributions.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 04 Jan 2017 06:03:51 PM UTCrik5Dependencies-=>Depends on bugs #42691
    Tue 20 Dec 2016 04:59:26 PM UTCrik5CategoryPlotting=>Octave Function
      Severity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low
      Item GroupIncorrect Result=>Matlab Compatibility
      StatusNone=>Confirmed
      Release4.0.3=>dev
      Summaryezplot: octave does not warn when function not vectorized -- and exhibits a wrong plot=>ezplot: octave does not warn when function not vectorized

    Back to the top


    Powered by Savane 3.1-cleanup1