- #1

alexis

- 2

- 0

I am a newbie in using Matlab and i have faced a problem i haven't been able to overcome so far,so i decided to share it with you.

I would like to solve the following equation in Matlab:

(-2*t /T^2)*(1-(1-1/Go)*exp(int(Pin(t)dt)/U))-(1-1/Go)*exp(int(Pin(t)dt)/U)*exp(-t^2/T^2)*(1/U)=0

legend:

-t,T,U,Go are (symbolic) variables

-int is not a Matlab function.It just means integral.In this case it's integral of Pin(t)dt.

-Pin(t)=exp(-t^2/T^2)

-the form in which the equation is given is not suitable for Matlab use.I just tried to write it accuratelly in a form that would be understood by anyone who is even a bit familiar with programming.

I am trying to find an analytical soluion for t (t=...) from this equation and i would like to do that in Matlab.

I have already tried solve() which can't handle exp and int appropriatelly(due to the fact that they are non-linear.I tried to approach them by using 2nd degree Taylor series,but then again problems pop up in other points...).I also tried to use fsolve(),but rather unsuccessfully...i wasn't able to make it produce a result.

So...i would appreciate it a lot,if somebody helped my in finding a solution.

Thanks a lot in advance.

Sorry for my bad english...I am just not so used to use english mathematical terminology.

Alex.