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

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

[Octave-bug-tracker] [bug #50716] Undefined input to a classdef method


From: Guillaume
Subject: [Octave-bug-tracker] [bug #50716] Undefined input to a classdef method
Date: Wed, 5 Apr 2017 12:15:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #8, bug #50716 (project octave):

I start to see how tricky it can be... I find "a(floor(end))" a rather strange
construct though - I wonder how often something likes this occurs.

While trying to get my head around it, I came across this:


a = 10:10:100;
b = [1,2,3];
f = @(x) x;
a(f(end))


Octave says 100 and Matlab R2017a says 10...

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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