help-octave
[Top][All Lists]
Advanced

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

Re: Plot


From: Juan Pablo Carbajal
Subject: Re: Plot
Date: Tue, 15 Aug 2017 19:06:25 +0200

> How can I do this?
>
> x = sin(-b)+b, y=2-cos(-b), 5≤ b≤ 6pi

Have in mind that octave is not the ideal tool for symbolic studies
(you could check if the symbolic package meets your needs)
If you do not care about sampling, you can plot in the following way

nT = 100; # number of points
b   = linspace (5, 6*pi, nT).';
x   = b - sin (b);
y   = 2 - cos (b);
plot(x,y,'o-');
axis image



reply via email to

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