matlab code for complex number integration

조회 수: 5 (최근 30일)
sudheer kethamreddy
sudheer kethamreddy 2013년 6월 15일
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.

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 6월 15일
A=(0.700+1.44i)
yourfun=@(x) 0*x+A
quad(yourfun,17,25)

Community Treasure Hunt

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

Start Hunting!

Translated by