Borrar filtros
Borrar filtros

Plotting Complex Functions.

18 visualizaciones (últimos 30 días)
Sudharsana Iyengar
Sudharsana Iyengar el 25 de Ag. de 2024
Comentada: Sudharsana Iyengar el 28 de Ag. de 2024
I intend to do a taylor series expansion at t=0. I would like to plot the coefficients of each Taylor term in the complex plane, using the surf function.
I tried Taylor(F) , Series (F) somewhere there is an error. The function is product of two gaussians, with two parameters mentioned above. This Gaussian contains other constants, Some are symbolic, while some have pre determined values.
Can some one help me out.
Thanks.
  7 comentarios
David Goodmanson
David Goodmanson el 28 de Ag. de 2024
Editada: David Goodmanson el 28 de Ag. de 2024
Hi Sudharsana, could you comment on what the coefficients you show above are all about?
Sudharsana Iyengar
Sudharsana Iyengar el 28 de Ag. de 2024
It is a product of two gaussians. These gaussians have different parameters.
The function is expanded around x=0.
Each of the coefficient is integrated in the complex plane.
I hope this helps.

Iniciar sesión para comentar.

Respuestas (1)

David Goodmanson
David Goodmanson el 26 de Ag. de 2024
Editada: David Goodmanson el 28 de Ag. de 2024
Hello Sudharsana,
Do you mean
f(t) = exp(-ar/(twC))*exp(-ai/(twC))
or
f(t) = exp(-ar/(twC))*exp(-i*ai/(twC))
^
(per Torsten's first comment)? Either way, this function has an essential singularity at t = 0 in the complex t plane. Assuming the lower line above is correct, which makes sense, then the first factor
exp(-(ar/wC)/t)
has the most to do with the behavior of the function at the origin. Assuming (ar/wC) is positive, then if you approach the origin from the right, the function f(t) and all its derivatives are zero at t = 0+. Since the coefficients of a Taylor series about a point are determined by the derivatives of f(t) at that point, this means that f(t) cannot be expanded in a Taylor series about t = 0. If (ar/wC) is negative then as you approach the origin from the from the right, f(t) --> infinity so again there is no Taylor series.
Which doesn't mean that it can't be approximated. For example, using exp(-1/t) for simplicity
t = 0:.001:4;
f = exp(-1./t);
c = polyfit(t,f,6)
f_fit = polyval(c,t);
I'm not advocating for polyfit which is anyway not a great idea for polynomials of large degree, and I am sure there are better fits but this is just one example.

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by