matlab code for complex number integration

1 view (last 30 days)
hi i need to integrate the complex numbers A=(0.700+1.44i) with limits 17 and 25. command i gave integral(A,17,25) and the same with quad.getting an error.please help me to solve this.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 15 Jun 2013
A=(0.700+1.44i)
yourfun=@(x) 0*x+A
quad(yourfun,17,25)

Categories

Find more on Dynamic System Models in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!