Hi,

Le 02/01/2017 à 11:26, Pirovano, Bart a écrit :

Goodday, I would like to add a second function to the underneath little program. I suppose something I haven’t done correct where I address ‘b’. Can somebody put me in the good direction with integrating the x,y curve?

you want to compute a line integral or a double integral on the interior of polygon ?

S.

clf;

// y-axis GZ (m)

// x-axis degrees

x=[0,2,5,10,12,15,20,25,30,40,50,60]';

y=[0,0.065,0.10,0.136,0.159,0.19,0.29,0.382,0.50,0.84,0.91,0.85]';

b=['2x'];

xtitle("GZ kromme Elandsgracht / departure Singapore") xlabel('φ (degrees)'); ylabel('GZ (m)'); plot2d (x,y); integ('x,y','x',0,30);

Bart



_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to