|
From: | Rick T |
Subject: | Re: Syntax issue |
Date: | Sun, 23 Oct 2011 13:35:39 -1000 |
try y=1./x;DougOn Sun, Oct 23, 2011 at 7:11 PM, Rick T <address@hidden> wrote:
_______________________________________________Greetings AllI create x values 1 through 10 then I calculate y by dividing it by xI thought my x values would be 1,2,3,4,5,6,7,8,9,10and my y values would be 1/1,1/2,1/3,1/4,1/5,1/6,1/7,1/8,1/9,1/10but that isn't the case what am I doing wrong.x=linspace(1,10,10)';
y=1/x;
y=y'
xy=[x y]
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave
--DAShttps://linuxcounter.net/user/206392.html
[Prev in Thread] | Current Thread | [Next in Thread] |