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

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

[Octave-bug-tracker] [bug #43614] Plotting of a Nested Function Fails


From: Andreas Weber
Subject: [Octave-bug-tracker] [bug #43614] Plotting of a Nested Function Fails
Date: Fri, 14 Nov 2014 19:49:39 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0

Update of bug #43614 (project octave):

                  Status:                    None => Invalid                

    _______________________________________________________

Follow-up Comment #4:

This is not a bug in octave but in your script as Matthias already explained.
You are trying to do a matrix multiplication (a single star symbol) on 2 equal
vectors. Try "x*x" and you'll get the same error message. We think you want an
element-by-element multiplication:


plot (x, sin (x) + sin (x * 4 .* sin(x)));


See
https://www.gnu.org/software/octave/doc/interpreter/Simple-Examples.html#Elementary-Calculations
and
https://www.gnu.org/software/octave/doc/interpreter/Arithmetic-Ops.html#Arithmetic-Ops

Closing as invalid.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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