Community Profile

photo

Ayda


2011 以来アクティブ

Good morning

i have write this code and it works well
but there is something i do not know how to do it

this is my code
"function C=OneCamera(x,y)
for i=1:15
for j=1:15
x=1
y=1
d=(i-x)^2+(j-y)^2;
if d<30 C(i,j)=1;else C(i,j)=0;;end
end;
C
S= C(:)'
end"

i want to do for loop so x and j change from 1 to 15 after i and j reach to (15,15)
Professional Interests: optimize the number of cameras

Statistics

  • Thankful Level 3

バッジを表示

Content Feed

表示方法
アクティビティなし