![]() |
[求助]我是新手,请教大家一个简单的问题
[B]最近在编一个程序,出现的错误提示:[/B]
??? 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); [B]部分程序:[/B]Ets=ps22*Et1s+ps23*Ev1s Evs=ps32*Et1s+ps33*Ev1s;%角度变换后的散射场 [t,v]=meshgrid(-pi:pi/10:pi); y=abs(Ets) surf(t,v,y); [B]其中y显示了结果,呵呵,可能 有点长(只发一部分,是一个关于t和v的函数):y =[/B] 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))) [B]大家帮我看看为什么画不出图来,谢谢了![/B] |
回复: [求助]我是新手,请教大家一个简单的问题
帮忙看一下这是什么地方错了!:lol: :lol:
谢谢各位了。。 |
所有时间均为北京时间。现在的时间是 11:25。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.