help-octave
[Top][All Lists]
Advanced

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

Re: variable and plot


From: Nicholas Jankowski
Subject: Re: variable and plot
Date: Tue, 10 Apr 2018 13:52:19 -0400

On Tue, Apr 10, 2018 at 1:18 PM, Patrick Dupre <address@hidden> wrote:
Very good,

Then, how can I get a vector in output?
By the way,
sin(1) works as well as
plot (x, sin (x))
How can I obtain the same behavior ?


your function needs to output a vector. quad does not. quadv does, but it tends to be a bit less accurate.  if x = [1:1:10], then look at the output of sin(x).  plot just works with the output of the function.

reply via email to

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