Plot in complex plane - Symbolic toolbox

4 visualizaciones (últimos 30 días)
Alex Ter-Sarkissov
Alex Ter-Sarkissov el 18 de Ag. de 2011
I'm trying to plot the function of complex variable:
mu:=10;lambda:=mu;n:=100;
f2:=16*mu*n^2/(16*mu*n^2-exp(-9*lambda*(n^2-4*k^2)/(64*n^2)))
plot(f2,Re(k)=0..100,Im(k)=0..100,#3D)
and keep getting this message: Error: unexpected arguments: Re(k) = 0..100, Im(k) = 0..100 [plot::Canvas::new]
what am I doing wrong?

Respuestas (2)

Paulo Silva
Paulo Silva el 19 de Ag. de 2011
That doesn't look like MATLAB code, are you using MUPAD instead?
  6 comentarios
Alex Ter-Sarkissov
Alex Ter-Sarkissov el 19 de Ag. de 2011
I tried plot(Im(f2),k=0..100,#3D) and plot(Im(f2),k=I*0..I*100,#3D) instead but is definitely not what I'm having in mind
Paulo Silva
Paulo Silva el 19 de Ag. de 2011
sorry but I have no idea how to do it but someone else might, good luck

Iniciar sesión para comentar.


Walter Roberson
Walter Roberson el 19 de Ag. de 2011
mu:=10;lambda:=mu;n:=100;
f2:=16*mu*n^2/(16*mu*n^2-exp(-9*lambda*(n^2-4*(k+j*I)^2)/(64*n^2)));
plotfunc3d(f2,k=0..100,j=0..100);
  5 comentarios
Walter Roberson
Walter Roberson el 19 de Ag. de 2011
Any particular reason not to specify the contour levels as (say) -1e10 -1e9 -1e8 -1e7 ... 1e7 1e8 1e9 1e10 ?
Having it choose automatic contour levels might be more difficult.
I do not have the Symbolic Toolbox and have not used MuPad graphics myself, so I do not know the standard idioms.
Alex Ter-Sarkissov
Alex Ter-Sarkissov el 20 de Ag. de 2011
OK, how do you plot complex functions then?

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by