MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB混合编程] 求助分析 p(I,J)=(sqrt(x(I)^2+y(J)^2) <= a) (https://www.labfans.com/bbs/showthread.php?t=7790)

sweet_catt 2009-04-19 16:51

求助分析 p(I,J)=(sqrt(x(I)^2+y(J)^2) <= a)
 
[SIZE="5"][FONT="仿宋体"][/FONT][/SIZE]
Imax=length(x)%Imax=101
Jmax=length(y)%Jmax=101

a=d/2;

for I=1:Imax %initialize circular pupil
for J=1:Jmax
p(I,J)=(sqrt(x(I)^2+y(J)^2) <= a) ;
end
end


所有时间均为北京时间。现在的时间是 03:08

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.