Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Fresnel Cos and Sin integrals in mathlab

Status
Not open for further replies.

jalalak

Newbie level 2
Newbie level 2
Joined
May 22, 2006
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,297
Hi...
As we know Fresnel Cos integral is ∫cos(½πx²)dx
Fresnel Sin integral is ∫sin(½πx²)dx
The integral boundaries are zero to x . (0-x)
I want to establish these to matlab and Plot(C,S).
I know that matlab already known C and S...However I want to reestablish by this way.Later I will work at the exponential form of the formulas.
Can anybody help me ?
 

Code:
x = linspace( 0, 10, 1000 );
plot( mfun( 'FresnelC', x ), mfun( 'FresnelS', x ) );

You can also write something like

Code:
syms dzeta;
C = int( 'cos( pi / 2 * x ^ 2 )', 'x', 0, dzeta );
S = int( 'sin( pi / 2 * x ^ 2 )', 'x', 0, dzeta );
x = linspace( 0, 10, 1000 );;
plot( subs( C, dzeta, x ), subs( S, dzeta, x ) );

or install new Mapple functions with 'procread' call.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top