最近在编一个程序,出现的错误提示:
??? Error using ==> graph3d.surfaceplot.surfaceplot
Invalid input arguments
Error in ==> surf at 81
hh = double(graph3d.surfaceplot(args{:},'parent',cax));
Error in ==> Scan_farfild at 77
surf(t,v,y);
部分程序:Ets=ps22*Et1s+ps23*Ev1s
Evs=ps32*Et1s+ps33*Ev1s;%角度变换后的散射场
[t,v]=meshgrid(-pi

i/10

i);
y=abs(Ets)
surf(t,v,y);
其中y显示了结果,呵呵,可能 有点长(只发一部分,是一个关于t和v的函数):y =
abs(((sin(t)^2*cos(v)^2+sin(t)^2*sin(v)^2)^(1/2)*sin(t)+cos(t)*(1-sin(t)^2*cos(v)^2-sin(t)^+sin(v)^)/((sin(t)^2*cos(v)^2+sin(t)^2*si*cos(v)^2+sin(t)^2*sin(v)^2))+1-sin(t)^2*sin(v)^2)))/((sin(t)^2*cos(v)^2+sin(t)^2*sin(v)^2)*(1-sin(t)^2*cos(v)^2/(sin(t)^2*cos(v)^2+sin(t)^2*sin(v)^2))+1-sin(t)^2*sin(v)^2)^(1/2))*sin(t)*cos(v)/(sin(t)^2*cos(v)^2+sin(t)^2*sin(v)^2)^(1/2)))
大家帮我看看为什么画不出图来,谢谢了!