help-octave
[Top][All Lists]
Advanced

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

Integration problem


From: Marcin Sleczka
Subject: Integration problem
Date: Thu, 8 Jan 2009 13:14:56 -0800 (PST)

Hi,
Why it does not work?
>u=[-10:0.1:10];
>function y=int(u,x)
>y=sin(u.*x);
>endfunction;

>y=quad("int",0,2.*pi);

I would like to plot such a function:
f(u)=\int_{0}^{2\pi}sin(ux)dx

Any idea how to do it?

Thanks for help.
MS
-- 
View this message in context: 
http://www.nabble.com/Integration-problem-tp21361078p21361078.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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