Register to reply

Problem to solve this integral in matlab

by hore69
Tags: integral, matlab, solve
Share this thread:
hore69
#1
Sep16-05, 11:59 AM
P: 1
hello , somebody could help me to solve in MATLAB this integral?
[tex]r(\alpha) =\frac{1}{\theta} \int_{0}^{\theta} \ e^{-jk*2Rsin(\sigma/2)sin(\sigma/2+\alpha) } \,d\sigma[/tex]
I have tried to solve it but it gives this error :

Warning: Explicit integral could not be found.
> In C:\MATLAB6p5\toolbox\symbolic\@sym\int.m at line 58
In C:\MATLAB6p5\work\directividadCurvado.m at line 12
??? Error: Assignment statements do not produce results. (Use == to test
for equality.)

Error in ==> C:\MATLAB6p5\toolbox\symbolic\@sym\double.m
On line 45 ==> D = reshape(eval(X),m,n);

Error in ==> C:\MATLAB6p5\work\directividadCurvado.m
On line 12 ==> ppp=double(int(exp(-i*k*2*R*sin(x/2).*(sin(x/2)+t)),'x','0','ang'));

please help me. Excuse me by my writing. Thanks.
Phys.Org News Partner Science news on Phys.org
Wildfires and other burns play bigger role in climate change, professor finds
SR Labs research to expose BadUSB next week in Vegas
New study advances 'DNA revolution,' tells butterflies' evolutionary history
dextercioby
#2
Sep20-05, 05:44 AM
Sci Advisor
HW Helper
P: 11,896
U can't solve it. Try Matlab with a simpler integral

[tex] \int e^{\sin x} \ dx [/tex]

Daniel.


Register to reply

Related Discussions
Using Matlab to solve dynamics problem Math & Science Software 0
How to use solve function in matlab in this case Math & Science Software 0
Who can use MatLab/Mathematica/Maple to solve this? Math & Science Software 4
An Unsolvable Integral (according to Matlab) Math & Science Software 5
Solve this integral Calculus 3