help-octave
[Top][All Lists]
Advanced

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

Re: help to make a curve onli with to vectorts


From: Doug Stewart
Subject: Re: help to make a curve onli with to vectorts
Date: Sat, 15 Dec 2018 11:05:48 -0500



On Sat, Dec 15, 2018 at 10:58 AM linuxnero <address@hidden> wrote:
of course but that graph a straight lines
but i want a curve




Try this
x= [01 2 3 4]
y= [0 10 15 20]

plot(x,y)
hold onĀ 
p=polyfit(x,y,3)
x2=0:.1:5;
y1=polyval(p,x2)
plot(x2,y1)

--
DASCertificate for 206392


reply via email to

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