help-octave
[Top][All Lists]
Advanced

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

Re: Integration problem


From: Marcin Sleczka
Subject: Re: Integration problem
Date: Fri, 9 Jan 2009 09:39:42 -0800 (PST)



Marcin Sleczka wrote:
> 
> 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
> 

I found that I can't integrate complex function with use quad. What if int
will be complex function?
-- 
View this message in context: 
http://www.nabble.com/Integration-problem-tp21361078p21376914.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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