Plot in complex plane - Symbolic toolbox
古いコメントを表示
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?
回答 (2 件)
Paulo Silva
2011 年 8 月 19 日
0 投票
That doesn't look like MATLAB code, are you using MUPAD instead?
6 件のコメント
Alex Ter-Sarkissov
2011 年 8 月 19 日
Paulo Silva
2011 年 8 月 19 日
My experience with MUPAD is very small, please explain what are you trying to do in the plot so I can try to help you.
I plotted something like this plot(f2,Re(f2),Im(f2),#3D) but doesn't seem to be what you want.
Paulo Silva
2011 年 8 月 19 日
I managed to crash my MUPAD but what you are looking for might be this plot(f2,Re(f2),Im(f2),k=0..100,#3D) , again my MUPAD experience is very small.
Alex Ter-Sarkissov
2011 年 8 月 19 日
Alex Ter-Sarkissov
2011 年 8 月 19 日
Paulo Silva
2011 年 8 月 19 日
sorry but I have no idea how to do it but someone else might, good luck
Walter Roberson
2011 年 8 月 19 日
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 件のコメント
Alex Ter-Sarkissov
2011 年 8 月 19 日
Walter Roberson
2011 年 8 月 19 日
You probably need to specify the Contours attribute for Implicit2d . See http://www.mathworks.com/help/toolbox/mupad/plot/ATTRIBUTES_Contours.html
Alex Ter-Sarkissov
2011 年 8 月 19 日
Walter Roberson
2011 年 8 月 19 日
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
2011 年 8 月 20 日
カテゴリ
ヘルプ センター および File Exchange で 2-D Function Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!