From: roshni jyothiss on 3 Feb 2010 11:22 instead of fitting the points and integrating to get the area, anybody knows other methods to calculate the area. for ex: i have x = [0, 0.005, 0.01,..................1] y = [1, 0.8, 0.6, 0.4,..........0] thanks in advance sasha
From: us on 3 Feb 2010 11:31 "roshni jyothiss" <roshni_balan(a)hotmail.com> wrote in message <hkc7re$3u6$1(a)fred.mathworks.com>... > instead of fitting the points and integrating to get the area, anybody knows other methods to calculate the area. > > for ex: i have x = [0, 0.005, 0.01,..................1] > y = [1, 0.8, 0.6, 0.4,..........0] > > > thanks in advance > > sasha a hint: help polyarea; us
From: aasim Azooz on 3 Feb 2010 18:12 "roshni jyothiss" <roshni_balan(a)hotmail.com> wrote in message <hkc7re$3u6$1(a)fred.mathworks.com>... > instead of fitting the points and integrating to get the area, anybody knows other methods to calculate the area. > > for ex: i have x = [0, 0.005, 0.01,..................1] > y = [1, 0.8, 0.6, 0.4,..........0] > > > thanks in advance > > sasha Try Area=trapz(x,y) Aasim Azooz
|
Pages: 1 Prev: Disabling startup of Matlab when using notebook feature Next: Beauty of Visakhapatnam... |