- #1

- 26

- 0

How to integrate

exp(x)*erfc(x) ? in MATLAB

The warning msg it is displaying is :

EXPLICIT integral could not be found

- Thread starter bhartish
- Start date

- #1

- 26

- 0

How to integrate

exp(x)*erfc(x) ? in MATLAB

The warning msg it is displaying is :

EXPLICIT integral could not be found

- #2

- 360

- 1

- #3

- 26

- 0

- #4

- 360

- 1

Seems like a function that can easily be numerically integrated over any range of x.

Does it actually produce a solution, but you don't trust it because of the warning message?

- #5

- 26

- 0

e^(a+bt) erfc(-c+rt)exp((t-q)/l)

within the limits o to t

within the limits o to t

- #6

MATLABdude

Science Advisor

- 1,655

- 4

- #7

- 26

- 0

I have all the values of a, b, c, r, q, l and t. Then how to go about it ?

- #8

MATLABdude

Science Advisor

- 1,655

- 4

Code:

```
t=0:pi/100:pi; % t values
y=sin(1*t); % calculation of function at all t
A = trapz(y,t); % implements trapezoid rule
```

- #9

- 26

- 0

I will get back to you sir.

- #10

- 26

- 0

I have one doubt cant we take some fictitous value and start integration of error function and exponential ?

- #11

MATLABdude

Science Advisor

- 1,655

- 4

It's your work--you can put in whatever you want!

I have one doubt cant we take some fictitous value and start integration of error function and exponential ?

- Last Post

- Replies
- 2

- Views
- 6K

- Last Post

- Replies
- 1

- Views
- 720

- Last Post

- Replies
- 3

- Views
- 2K

- Replies
- 8

- Views
- 2K

- Last Post

- Replies
- 1

- Views
- 6K

- Last Post

- Replies
- 16

- Views
- 733

- Last Post

- Replies
- 27

- Views
- 2K

- Last Post

- Replies
- 3

- Views
- 990

- Last Post

- Replies
- 4

- Views
- 853

- Last Post

- Replies
- 3

- Views
- 27K